1 write to TwoFactorCode
Microsoft.AspNetCore.Identity (1)
IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.Data.LoginRequest(){ Email = (string)args[0], Password = (string)args[1],
TwoFactorCode
= (string)args[2], TwoFactorRecoveryCode = (string)args[3] },
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)
103
if (!string.IsNullOrEmpty(login.
TwoFactorCode
))
105
result = await signInManager.TwoFactorAuthenticatorSignInAsync(login.
TwoFactorCode
, isPersistent, rememberClient: isPersistent);
IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (2)
104
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj).
TwoFactorCode
,
154
writer.WriteString(PropName_TwoFactorCode, ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)value).
TwoFactorCode
);