Property UseHostPrefix

Assembly: redb.Identity.Contracts.dll

When true, applies the __Host- name prefix to identity cookies
(which forces Secure, Path=/, no Domain). When the
surrounding scheme is not https, the helper falls back to the bare name
to avoid emitting an invalid cookie that browsers would silently drop.
Default: false for backward compatibility — flipping it to true
invalidates all existing session cookies (forces re-login). Recommended
for new production deployments.

public bool UseHostPrefix { get; set; }