1 write to Context
Microsoft.AspNetCore.Identity.Test (1)
SignInManagerTest.cs (1)
848signInManager.Object.Context = context;
23 references to Context
Microsoft.AspNetCore.Identity (23)
SecurityStampValidator.cs (1)
160await SignInManager.Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme);
SignInManager.cs (22)
189var auth = await Context.AuthenticateAsync(AuthenticationScheme); 283await Context.SignInAsync(AuthenticationScheme, 288Context.User = userPrincipal; 306await Context.SignOutAsync(AuthenticationScheme); 310await Context.SignOutAsync(IdentityConstants.ExternalScheme); 314await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 522var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity, Context); 536var result = await _passkeyHandler.MakeRequestOptionsAsync(user, Context); 572HttpContext = Context, 616HttpContext = Context, 695await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props); 704var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme); 705await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 743var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme); 758await Context.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme, 778await Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme); 851await Context.SignOutAsync(IdentityConstants.ExternalScheme); 856await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 1081var auth = await Context.AuthenticateAsync(IdentityConstants.ExternalScheme); 1229await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider)); 1238await Context.SignOutAsync(IdentityConstants.ExternalScheme); 1258var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);