19 references to TwoFactorUserIdScheme
Microsoft.AspNetCore.Identity (19)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
43
/// The passkey endpoints use the <see cref="IdentityConstants.
TwoFactorUserIdScheme
"/> cookie to store state between
IdentityCookiesBuilderExtensions.cs (3)
100
builder.AddCookie(IdentityConstants.
TwoFactorUserIdScheme
, o =>
102
o.Cookie.Name = IdentityConstants.
TwoFactorUserIdScheme
;
109
return new OptionsBuilder<CookieAuthenticationOptions>(builder.Services, IdentityConstants.
TwoFactorUserIdScheme
);
IdentityServiceCollectionExtensions.cs (2)
80
.AddCookie(IdentityConstants.
TwoFactorUserIdScheme
, o =>
82
o.Cookie.Name = IdentityConstants.
TwoFactorUserIdScheme
;
SecurityStampValidator.cs (1)
187
/// Used to validate the <see cref="IdentityConstants.
TwoFactorUserIdScheme
"/> and
SignInManager.cs (12)
326
if (await _schemes.GetSchemeAsync(IdentityConstants.
TwoFactorUserIdScheme
) != null)
328
await Context.SignOutAsync(IdentityConstants.
TwoFactorUserIdScheme
);
929
var claimsIdentity = new ClaimsIdentity(IdentityConstants.
TwoFactorUserIdScheme
);
931
await Context.SignInAsync(IdentityConstants.
TwoFactorUserIdScheme
, claimsPrincipal, props);
940
var result = await Context.AuthenticateAsync(IdentityConstants.
TwoFactorUserIdScheme
);
941
await Context.SignOutAsync(IdentityConstants.
TwoFactorUserIdScheme
);
1090
if (await _schemes.GetSchemeAsync(IdentityConstants.
TwoFactorUserIdScheme
) != null)
1092
await Context.SignOutAsync(IdentityConstants.
TwoFactorUserIdScheme
);
1405
var identity = new ClaimsIdentity(IdentityConstants.
TwoFactorUserIdScheme
);
1467
if (await _schemes.GetSchemeAsync(IdentityConstants.
TwoFactorUserIdScheme
) != null)
1470
await Context.SignInAsync(IdentityConstants.
TwoFactorUserIdScheme
, await StoreTwoFactorInfo(user, loginProvider));
1499
var result = await Context.AuthenticateAsync(IdentityConstants.
TwoFactorUserIdScheme
);