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