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)
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
,
697
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props);
706
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);
707
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
745
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme);
760
await
Context
.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme,
780
await
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
853
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
858
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
1083
var auth = await
Context
.AuthenticateAsync(IdentityConstants.ExternalScheme);
1231
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider));
1240
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
1260
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);