5 references to TwoFactorCode
Microsoft.AspNetCore.Identity (5)
Data\LoginRequest.cs (1)
31/// This is required for users who have enabled two-factor authentication but lost access to their <see cref="TwoFactorCode"/>.
IdentityApiEndpointRouteBuilderExtensions.cs (2)
103if (!string.IsNullOrEmpty(login.TwoFactorCode)) 105result = await signInManager.TwoFactorAuthenticatorSignInAsync(login.TwoFactorCode, isPersistent, rememberClient: isPersistent);
IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (2)
104Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj).TwoFactorCode, 154writer.WriteString(PropName_TwoFactorCode, ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)value).TwoFactorCode);