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);