4 references to ResetRecoveryCodes
Microsoft.AspNetCore.Identity (4)
_generated\12\IdentityEndpointsJsonSerializerContext.TwoFactorRequest.g.cs (2)
120Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest)obj).ResetRecoveryCodes, 172writer.WriteBoolean(PropName_ResetRecoveryCodes, ((global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest)value).ResetRecoveryCodes);
Data\TwoFactorResponse.cs (1)
25/// <see cref="TwoFactorRequest.ResetRecoveryCodes"/> was set or two-factor was enabled for the first time.
IdentityApiEndpointRouteBuilderExtensions.cs (1)
303if (tfaRequest.ResetRecoveryCodes || (tfaRequest.Enable == true && await userManager.CountRecoveryCodesAsync(user) == 0))