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)
187
var auth = await
Context
.AuthenticateAsync(AuthenticationScheme);
281
await
Context
.SignInAsync(AuthenticationScheme,
286
Context
.User = userPrincipal;
304
await
Context
.SignOutAsync(AuthenticationScheme);
308
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
312
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
518
var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity,
Context
);
532
var result = await _passkeyHandler.MakeRequestOptionsAsync(user,
Context
);
568
HttpContext =
Context
,
612
HttpContext =
Context
,
690
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props);
699
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);
700
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
738
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme);
753
await
Context
.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme,
773
await
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
845
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
850
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
1072
var auth = await
Context
.AuthenticateAsync(IdentityConstants.ExternalScheme);
1220
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider));
1229
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
1249
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);