1 write to Context
Microsoft.AspNetCore.Identity.Test (1)
SignInManagerTest.cs (1)
848
signInManager.Object.
Context
= context;
23 references to Context
Microsoft.AspNetCore.Identity (23)
SecurityStampValidator.cs (1)
160
await SignInManager.
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
SignInManager.cs (22)
189
var auth = await
Context
.AuthenticateAsync(AuthenticationScheme);
283
await
Context
.SignInAsync(AuthenticationScheme,
288
Context
.User = userPrincipal;
306
await
Context
.SignOutAsync(AuthenticationScheme);
310
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
314
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
522
var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity,
Context
);
536
var result = await _passkeyHandler.MakeRequestOptionsAsync(user,
Context
);
572
HttpContext =
Context
,
616
HttpContext =
Context
,
695
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props);
704
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);
705
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
743
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme);
758
await
Context
.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme,
778
await
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
851
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
856
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
1081
var auth = await
Context
.AuthenticateAsync(IdentityConstants.ExternalScheme);
1229
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider));
1238
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
1258
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);