16 references to TwoFactorRememberMeScheme
Microsoft.AspNetCore.Identity (16)
IdentityCookiesBuilderExtensions.cs (3)
82builder.AddCookie(IdentityConstants.TwoFactorRememberMeScheme, o => 84o.Cookie.Name = IdentityConstants.TwoFactorRememberMeScheme; 90return new OptionsBuilder<CookieAuthenticationOptions>(builder.Services, IdentityConstants.TwoFactorRememberMeScheme);
IdentityServiceCollectionExtensions.cs (2)
72.AddCookie(IdentityConstants.TwoFactorRememberMeScheme, o => 74o.Cookie.Name = IdentityConstants.TwoFactorRememberMeScheme;
SecurityStampValidator.cs (2)
160await SignInManager.Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme); 183/// <see cref="IdentityConstants.TwoFactorRememberMeScheme"/> cookies against the user's
SignInManager.cs (9)
748if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorRememberMeScheme) == null) 754var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme); 769await Context.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme, 772_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme); 776_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme, ex); 789await Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme); 790_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme); 794_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme, ex); 1191var rememberBrowserIdentity = new ClaimsIdentity(IdentityConstants.TwoFactorRememberMeScheme);