Class MfaInFlightState

Assembly: redb.Identity.Web.dll

Encapsulates the in-flight authorization state that needs to survive across an
MFA challenge round-trip. The BFF stores this in a short-lived, DataProtection-signed
cookie keyed to a single OIDC exchange. The host-issued __Host-redb.identity.mfa
cookie value is carried as so the BFF can forward it
back when posting the verification.

public sealed record MfaInFlightState : IEquatable<MfaInFlightState>

Inheritance

Object→MfaInFlightState

Implements

Properties

AuthorizeUrl

public string AuthorizeUrl { get; init; }

HostMfaStateCookie

public string HostMfaStateCookie { get; init; }

IssuedAt

public DateTimeOffset IssuedAt { get; init; }

MfaPath

public string MfaPath { get; init; }

Nonce

public string Nonce { get; init; }

ReturnUrl

public string? ReturnUrl { get; init; }

State

public string State { get; init; }

Verifier

public string Verifier { get; init; }

Constructors

MfaInFlightState(string, string, string, string, string, string, string?, DateTimeOffset)

Encapsulates the in-flight authorization state that needs to survive across an