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)
182/// Used to validate the <see cref="IdentityConstants.TwoFactorUserIdScheme"/> and
SignInManager.cs (12)
317if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorUserIdScheme) != null) 319await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 704var claimsIdentity = new ClaimsIdentity(IdentityConstants.TwoFactorUserIdScheme); 706await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props); 715var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme); 716await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 865if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorUserIdScheme) != null) 867await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 1179var identity = new ClaimsIdentity(IdentityConstants.TwoFactorUserIdScheme); 1236if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorUserIdScheme) != null) 1240await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider)); 1269var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);