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)
187var auth = await Context.AuthenticateAsync(AuthenticationScheme); 281await Context.SignInAsync(AuthenticationScheme, 286Context.User = userPrincipal; 304await Context.SignOutAsync(AuthenticationScheme); 308await Context.SignOutAsync(IdentityConstants.ExternalScheme); 312await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 518var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity, Context); 532var result = await _passkeyHandler.MakeRequestOptionsAsync(user, Context); 568HttpContext = Context, 612HttpContext = Context, 690await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props); 699var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme); 700await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 738var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme); 753await Context.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme, 773await Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme); 845await Context.SignOutAsync(IdentityConstants.ExternalScheme); 850await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 1072var auth = await Context.AuthenticateAsync(IdentityConstants.ExternalScheme); 1220await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider)); 1229await Context.SignOutAsync(IdentityConstants.ExternalScheme); 1249var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);