23 references to Context
Microsoft.AspNetCore.Identity (23)
SecurityStampValidator.cs (1)
160
await SignInManager.
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
SignInManager.cs (22)
194
var auth = await
Context
.AuthenticateAsync(AuthenticationScheme);
288
await
Context
.SignInAsync(AuthenticationScheme,
293
Context
.User = userPrincipal;
311
await
Context
.SignOutAsync(AuthenticationScheme);
315
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
319
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
527
var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity,
Context
);
541
var result = await _passkeyHandler.MakeRequestOptionsAsync(user,
Context
);
577
HttpContext =
Context
,
621
HttpContext =
Context
,
706
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props);
715
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);
716
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
754
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme);
769
await
Context
.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme,
789
await
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
862
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
867
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
1092
var auth = await
Context
.AuthenticateAsync(IdentityConstants.ExternalScheme);
1240
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider));
1249
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
1269
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);