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)
907
if (await _schemes.GetSchemeAsync(IdentityConstants.
TwoFactorRememberMeScheme
) == null)
913
var result = await Context.AuthenticateAsync(IdentityConstants.
TwoFactorRememberMeScheme
);
928
await Context.SignInAsync(IdentityConstants.
TwoFactorRememberMeScheme
,
931
_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.
TwoFactorRememberMeScheme
);
935
_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.
TwoFactorRememberMeScheme
, ex);
948
await Context.SignOutAsync(IdentityConstants.
TwoFactorRememberMeScheme
);
949
_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.
TwoFactorRememberMeScheme
);
953
_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.
TwoFactorRememberMeScheme
, ex);
1356
var rememberBrowserIdentity = new ClaimsIdentity(IdentityConstants.
TwoFactorRememberMeScheme
);