18 references to TwoFactorUserIdScheme
Microsoft.AspNetCore.Identity (18)
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)
321
if (await _schemes.GetSchemeAsync(IdentityConstants.
TwoFactorUserIdScheme
) != null)
323
await Context.SignOutAsync(IdentityConstants.
TwoFactorUserIdScheme
);
863
var claimsIdentity = new ClaimsIdentity(IdentityConstants.
TwoFactorUserIdScheme
);
865
await Context.SignInAsync(IdentityConstants.
TwoFactorUserIdScheme
, claimsPrincipal, props);
874
var result = await Context.AuthenticateAsync(IdentityConstants.
TwoFactorUserIdScheme
);
875
await Context.SignOutAsync(IdentityConstants.
TwoFactorUserIdScheme
);
1024
if (await _schemes.GetSchemeAsync(IdentityConstants.
TwoFactorUserIdScheme
) != null)
1026
await Context.SignOutAsync(IdentityConstants.
TwoFactorUserIdScheme
);
1339
var identity = new ClaimsIdentity(IdentityConstants.
TwoFactorUserIdScheme
);
1401
if (await _schemes.GetSchemeAsync(IdentityConstants.
TwoFactorUserIdScheme
) != null)
1404
await Context.SignInAsync(IdentityConstants.
TwoFactorUserIdScheme
, await StoreTwoFactorInfo(user, loginProvider));
1433
var result = await Context.AuthenticateAsync(IdentityConstants.
TwoFactorUserIdScheme
);