27 references to Context
Microsoft.AspNetCore.Identity (27)
SecurityStampValidator.cs (1)
164
await SignInManager.
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
SignInManager.cs (26)
203
var auth = await
Context
.AuthenticateAsync(AuthenticationScheme);
297
await
Context
.SignInAsync(AuthenticationScheme,
302
Context
.User = userPrincipal;
320
await
Context
.SignOutAsync(AuthenticationScheme);
324
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
328
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
542
var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity,
Context
);
575
var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity, isConditionallyMediated,
Context
);
590
var result = await _passkeyHandler.MakeRequestOptionsAsync(user,
Context
);
648
var result = await _passkeyHandler.MakeAllAcceptedCredentialsSignalOptionsAsync(user,
Context
);
695
var result = await _passkeyHandler.MakeCurrentUserDetailsSignalOptionsAsync(user, userEntity,
Context
);
727
var result = await _passkeyHandler.MakeUnknownCredentialSignalOptionsAsync(credentialJson,
Context
);
762
HttpContext =
Context
,
797
HttpContext =
Context
,
931
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props);
940
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);
941
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
979
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme);
994
await
Context
.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme,
1014
await
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
1087
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
1092
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
1317
var auth = await
Context
.AuthenticateAsync(IdentityConstants.ExternalScheme);
1470
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, await StoreTwoFactorInfo(user, loginProvider));
1479
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
1499
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);