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