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