3 writes to AuthenticatorTokenProvider
Microsoft.AspNetCore.Identity.Test (3)
SignInManagerTest.cs (3)
557
helper.Options.Tokens.
AuthenticatorTokenProvider
= providerName;
599
helper.Options.Tokens.
AuthenticatorTokenProvider
= providerName;
638
helper.Options.Tokens.
AuthenticatorTokenProvider
= providerName;
7 references to AuthenticatorTokenProvider
Microsoft.AspNetCore.Identity (2)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
284
if (!await userManager.VerifyTwoFactorTokenAsync(user, userManager.Options.Tokens.
AuthenticatorTokenProvider
, tfaRequest.TwoFactorCode))
SignInManager.cs (1)
907
if (await UserManager.VerifyTwoFactorTokenAsync(user, Options.Tokens.
AuthenticatorTokenProvider
, code))
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
134
user, _userManager.Options.Tokens.
AuthenticatorTokenProvider
, verificationCode);
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
134
user, _userManager.Options.Tokens.
AuthenticatorTokenProvider
, verificationCode);
Microsoft.Extensions.Identity.Core (3)
TokenOptions.cs (3)
29
/// Default token provider name used by the <see cref="
AuthenticatorTokenProvider
"/>.
71
/// Gets or sets the <see cref="
AuthenticatorTokenProvider
"/> used to validate two factor sign ins with an authenticator.
74
/// The <see cref="
AuthenticatorTokenProvider
"/> used to validate two factor sign ins with an authenticator.