1 write to Context
Microsoft.AspNetCore.Identity.Test (1)
SignInManagerTest.cs (1)
1010signInManager.Object.Context = context;
23 references to Context
Microsoft.AspNetCore.Identity (23)
SecurityStampValidator.cs (1)
160await SignInManager.Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
SignInManager.cs (22)
191var auth = await Context.AuthenticateAsync(AuthenticationScheme); 285await Context.SignInAsync(AuthenticationScheme, 290Context.User = userPrincipal; 308await Context.SignOutAsync(AuthenticationScheme); 312await Context.SignOutAsync(IdentityConstants.ExternalScheme); 316await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 524var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity, Context); 538var result = await _passkeyHandler.MakeRequestOptionsAsync(user, Context); 574HttpContext = Context, 618HttpContext = Context, 703await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props); 712var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme); 713await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 751var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme); 766await Context.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme, 786await Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme); 859await Context.SignOutAsync(IdentityConstants.ExternalScheme); 864await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 1089var auth = await Context.AuthenticateAsync(IdentityConstants.ExternalScheme); 1237await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider)); 1246await Context.SignOutAsync(IdentityConstants.ExternalScheme); 1266var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);