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