1 write to Context
Microsoft.AspNetCore.Identity.Test (1)
SignInManagerTest.cs (1)
627
signInManager.Object.
Context
= context;
16 references to Context
Microsoft.AspNetCore.Identity (16)
SecurityStampValidator.cs (1)
160
await SignInManager.
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
SignInManager.cs (15)
164
var auth = await
Context
.AuthenticateAsync(AuthenticationScheme);
253
await
Context
.SignInAsync(AuthenticationScheme,
258
Context
.User = userPrincipal;
266
await
Context
.SignOutAsync(AuthenticationScheme);
270
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
274
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
452
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme);
465
await
Context
.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme,
476
return
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
523
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
528
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
702
var auth = await
Context
.AuthenticateAsync(IdentityConstants.ExternalScheme);
850
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider));
859
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
879
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);