1 write to Enable
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] },
6 references to Enable
Microsoft.AspNetCore.Identity (6)
Data\TwoFactorRequest.cs (1)
20/// The two-factor code derived from the <see cref="TwoFactorResponse.SharedKey"/>. This is only required if <see cref="Enable"/> is set to <see langword="true"/>.
IdentityApiEndpointRouteBuilderExtensions.cs (3)
270if (tfaRequest.Enable == true) 292else if (tfaRequest.Enable == false || tfaRequest.ResetSharedKey) 303if (tfaRequest.ResetRecoveryCodes || (tfaRequest.Enable == true && await userManager.CountRecoveryCodesAsync(user) == 0))
IdentityEndpointsJsonSerializerContext.TwoFactorRequest.g.cs (2)
58Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest)obj).Enable, 167global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest)value).Enable, NullableBoolean);