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