23 references to Context
Microsoft.AspNetCore.Identity (23)
SecurityStampValidator.cs (1)
164
await SignInManager.
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
SignInManager.cs (22)
198
var auth = await
Context
.AuthenticateAsync(AuthenticationScheme);
292
await
Context
.SignInAsync(AuthenticationScheme,
297
Context
.User = userPrincipal;
315
await
Context
.SignOutAsync(AuthenticationScheme);
319
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
323
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
531
var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity,
Context
);
545
var result = await _passkeyHandler.MakeRequestOptionsAsync(user,
Context
);
581
HttpContext =
Context
,
625
HttpContext =
Context
,
724
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props);
733
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);
734
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
772
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme);
787
await
Context
.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme,
807
await
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
880
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
885
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
1110
var auth = await
Context
.AuthenticateAsync(IdentityConstants.ExternalScheme);
1258
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider));
1267
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
1287
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);