1 write to ResetRecoveryCodes
Microsoft.AspNetCore.Identity (1)
IdentityEndpointsJsonSerializerContext.TwoFactorRequest.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest(){ Enable = (bool?)args[0], TwoFactorCode = (string)args[1], ResetSharedKey = (bool)args[2], ResetRecoveryCodes = (bool)args[3], ForgetMachine = (bool)args[4] },
4 references to ResetRecoveryCodes
Microsoft.AspNetCore.Identity (4)
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))
IdentityEndpointsJsonSerializerContext.TwoFactorRequest.g.cs (2)
118Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest)obj).ResetRecoveryCodes, 170writer.WriteBoolean(PropName_ResetRecoveryCodes, ((global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest)value).ResetRecoveryCodes);