26 references to Context
Microsoft.AspNetCore.Identity (26)
SecurityStampValidator.cs (1)
164
await SignInManager.
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
SignInManager.cs (25)
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);
536
var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity,
Context
);
550
var result = await _passkeyHandler.MakeRequestOptionsAsync(user,
Context
);
608
var result = await _passkeyHandler.MakeAllAcceptedCredentialsSignalOptionsAsync(user,
Context
);
655
var result = await _passkeyHandler.MakeCurrentUserDetailsSignalOptionsAsync(user, userEntity,
Context
);
687
var result = await _passkeyHandler.MakeUnknownCredentialSignalOptionsAsync(credentialJson,
Context
);
722
HttpContext =
Context
,
766
HttpContext =
Context
,
865
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props);
874
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);
875
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
913
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme);
928
await
Context
.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme,
948
await
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
1021
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
1026
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
1251
var auth = await
Context
.AuthenticateAsync(IdentityConstants.ExternalScheme);
1399
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider));
1408
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
1428
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);