1 write to Context
Microsoft.AspNetCore.Identity.Test (1)
SignInManagerTest.cs (1)
1010
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)
191
var auth = await
Context
.AuthenticateAsync(AuthenticationScheme);
285
await
Context
.SignInAsync(AuthenticationScheme,
290
Context
.User = userPrincipal;
308
await
Context
.SignOutAsync(AuthenticationScheme);
312
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
316
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
524
var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity,
Context
);
538
var result = await _passkeyHandler.MakeRequestOptionsAsync(user,
Context
);
574
HttpContext =
Context
,
618
HttpContext =
Context
,
703
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props);
712
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);
713
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
751
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme);
766
await
Context
.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme,
786
await
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
859
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
864
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
1089
var auth = await
Context
.AuthenticateAsync(IdentityConstants.ExternalScheme);
1237
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider));
1246
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
1266
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);