1 write to Context
Microsoft.AspNetCore.Identity.Test (1)
SignInManagerTest.cs (1)
677
signInManager.Object.
Context
= context;
26 references to Context
Microsoft.AspNetCore.Identity (26)
SecurityStampValidator.cs (1)
160
await SignInManager.
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
SignInManager.cs (25)
197
var auth = await
Context
.AuthenticateAsync(AuthenticationScheme);
286
await
Context
.SignInAsync(AuthenticationScheme,
291
Context
.User = userPrincipal;
299
await
Context
.SignOutAsync(AuthenticationScheme);
303
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
307
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
486
HttpContext =
Context
,
518
HttpContext =
Context
,
593
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props);
614
var serverDomain = Options.Passkey.ServerDomain ??
Context
.Request.Host.Host;
690
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props);
710
var serverDomain = Options.Passkey.ServerDomain ??
Context
.Request.Host.Host;
759
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);
760
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
797
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);
798
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
832
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme);
845
await
Context
.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme,
856
return
Context
.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
903
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
908
await
Context
.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme);
1082
var auth = await
Context
.AuthenticateAsync(IdentityConstants.ExternalScheme);
1230
await
Context
.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider));
1239
await
Context
.SignOutAsync(IdentityConstants.ExternalScheme);
1259
var result = await
Context
.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);