TwoFactorResponse Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The response type for the "/manage/2fa" endpoint added by MapIdentityApi<TUser>(IEndpointRouteBuilder).
public sealed class TwoFactorResponse
type TwoFactorResponse = class
Public NotInheritable Class TwoFactorResponse
- Inheritance
-
TwoFactorResponse
Constructors
TwoFactorResponse() |
Properties
IsMachineRemembered |
Whether or not the current client has been remembered by two-factor authentication cookies. This is always |
IsTwoFactorEnabled |
Whether or not two-factor login is required for the current authenticated user. |
RecoveryCodes |
The recovery codes to use if the SharedKey is lost. This will be omitted from the response unless ResetRecoveryCodes was set or two-factor was enabled for the first time. |
RecoveryCodesLeft |
The number of unused RecoveryCodes remaining. |
SharedKey |
The shared key generally for TOTP authenticator apps that is usually presented to the user as a QR code. |