17 references to TwoFactorRememberMeScheme
Microsoft.AspNetCore.Identity (17)
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 (3)
162if (await schemes.GetSchemeAsync(IdentityConstants.TwoFactorRememberMeScheme) != null) 164await SignInManager.Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme); 188/// <see cref="IdentityConstants.TwoFactorRememberMeScheme"/> cookies against the user's
SignInManager.cs (9)
766if (await _schemes.GetSchemeAsync(IdentityConstants.TwoFactorRememberMeScheme) == null) 772var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme); 787await Context.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme, 790_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme); 794_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme, ex); 807await Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme); 808_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme); 812_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme, ex); 1209var rememberBrowserIdentity = new ClaimsIdentity(IdentityConstants.TwoFactorRememberMeScheme);