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); 722var claimsIdentity = new ClaimsIdentity(IdentityConstants.TwoFactorUserIdScheme); 724await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props); 733var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme); 734await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 883if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorUserIdScheme) != null) 885await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 1197var identity = new ClaimsIdentity(IdentityConstants.TwoFactorUserIdScheme); 1254if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorUserIdScheme) != null) 1258await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider)); 1287var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);