Class MfaSetupResult
Result of Services.IMfaMethod.SetupAsync: contains data the user needs
to complete MFA enrollment (secret, QR code URI, etc.).
public sealed record MfaSetupResult : IEquatable<MfaSetupResult>
Inheritance
Implements
Properties
Extra
Extensibility for future methods (e.g. WebAuthn challenge).
public Dictionary<string, object>? Extra { get; init; }
MethodId
MFA method that generated this result (e.g. "totp").
public required string MethodId { get; init; }
SecretBase32
For TOTP: base32-encoded shared secret (shown once during setup).
public string? SecretBase32 { get; init; }
SetupToken
Opaque, encrypted setup token (B5). The client MUST submit it back to the confirm
public string? SetupToken { get; init; }