18 references to TwoFactorUserIdScheme
Microsoft.AspNetCore.Identity (18)
IdentityCookiesBuilderExtensions.cs (3)
100builder.AddCookie(IdentityConstants.TwoFactorUserIdScheme, o => 102o.Cookie.Name = IdentityConstants.TwoFactorUserIdScheme; 109return new OptionsBuilder<CookieAuthenticationOptions>(builder.Services, IdentityConstants.TwoFactorUserIdScheme);
IdentityServiceCollectionExtensions.cs (2)
80.AddCookie(IdentityConstants.TwoFactorUserIdScheme, o => 82o.Cookie.Name = IdentityConstants.TwoFactorUserIdScheme;
SecurityStampValidator.cs (1)
187/// Used to validate the <see cref="IdentityConstants.TwoFactorUserIdScheme"/> and
SignInManager.cs (12)
321if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorUserIdScheme) != null) 323await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 863var claimsIdentity = new ClaimsIdentity(IdentityConstants.TwoFactorUserIdScheme); 865await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props); 874var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme); 875await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 1024if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorUserIdScheme) != null) 1026await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 1339var identity = new ClaimsIdentity(IdentityConstants.TwoFactorUserIdScheme); 1401if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorUserIdScheme) != null) 1404await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, await StoreTwoFactorInfo(user, loginProvider)); 1433var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);