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);
240
await
Context
.SignInAsync(AuthenticationScheme,
245
Context
.User = userPrincipal;
253
await
Context
.SignOutAsync(AuthenticationScheme);
257
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
261
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
439
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme);
452
await
Context
.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme,
463
return
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
510
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
515
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
689
var auth = await
Context
.AuthenticateAsync(IdentityConstants.ExternalScheme);
837
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider));
846
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
866
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);