Class MfaStatusResponse

Assembly: redb.Identity.Contracts.dll

The MFA state of a user, answered by the management MFA status operation.

public sealed class MfaStatusResponse

Inheritance

Object→MfaStatusResponse

Properties

Enabled

[JsonPropertyName("enabled")]
public required bool Enabled { get; init; }

Methods

Ids of the enrolled methods, e.g. totp.

[JsonPropertyName("methods")]
public required string[] Methods { get; init; }

RecoveryCodesRemaining

[JsonPropertyName("recovery_codes_remaining")]
public required int RecoveryCodesRemaining { get; init; }