Class MfaSetupTokenPayload
Encrypted payload of an MFA setup token (B5). Bound to a single user + setup attempt
via ; protected with DataProtection purpose
"redb.identity.mfa-setup.v1" and capped by a 10-minute TTL.
Not exposed publicly — round-trips between client and server as an opaque string.
public sealed class MfaSetupTokenPayload
Inheritance
Properties
Destination
public string? Destination { get; set; }
EncryptedSecret
public string? EncryptedSecret { get; set; }
IssuedAt
public DateTimeOffset IssuedAt { get; set; }
Jti
public Guid Jti { get; set; }
MethodId
public string MethodId { get; set; }
UserId
public long UserId { get; set; }
WebAuthnChallenge
MFA-3: 32 random challenge bytes for an in-progress WebAuthn registration ceremony.
public byte[]? WebAuthnChallenge { get; set; }
WebAuthnOptionsJson
MFA-3: serialized CredentialCreateOptions JSON for the in-progress registration.
public string? WebAuthnOptionsJson { get; set; }