4 references to Enable
Microsoft.AspNetCore.Identity (4)
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))