Class FederationStateOptions
C6 — hardening for the encrypted federation state blob and the
surrounding callback ceremony.
public sealed class FederationStateOptions
Inheritance
Properties
Backend
Backend for the one-time-use nonce store. memory (default) is single-node;
public string Backend { get; set; }
BindingCookieName
Name of the cookie that carries the per-flow browser-binding secret when
public string BindingCookieName { get; set; }
RedisConnectionString
Redis connection string for the nonce store. When null/empty and
public string? RedisConnectionString { get; set; }
RedisKeyPrefix
Key prefix used by the Redis nonce store. Default: redb:identity:fed:nonce:.
public string RedisKeyPrefix { get; set; }
RequireBrowserBinding
When true, the challenge processor mints a per-flow secret, hashes it
public bool RequireBrowserBinding { get; set; }
RequireOneTimeUse
When true (default), every state blob carries a unique jti
public bool RequireOneTimeUse { get; set; }
StateMaxAge
Maximum lifetime of an encrypted state blob from issuance to redeem.
public TimeSpan StateMaxAge { get; set; }