19 references to TwoFactorUserIdScheme
Microsoft.AspNetCore.Identity (19)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
43/// The passkey endpoints use the <see cref="IdentityConstants.TwoFactorUserIdScheme"/> cookie to store state between
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)
326if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorUserIdScheme) != null) 328await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 929var claimsIdentity = new ClaimsIdentity(IdentityConstants.TwoFactorUserIdScheme); 931await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props); 940var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme); 941await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 1090if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorUserIdScheme) != null) 1092await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 1405var identity = new ClaimsIdentity(IdentityConstants.TwoFactorUserIdScheme); 1467if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorUserIdScheme) != null) 1470await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, await StoreTwoFactorInfo(user, loginProvider)); 1499var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);