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)
191var auth = await Context.AuthenticateAsync(AuthenticationScheme); 285await Context.SignInAsync(AuthenticationScheme, 290Context.User = userPrincipal; 308await Context.SignOutAsync(AuthenticationScheme); 312await Context.SignOutAsync(IdentityConstants.ExternalScheme); 316await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 524var result = await _passkeyHandler.MakeCreationOptionsAsync(userEntity, Context); 538var result = await _passkeyHandler.MakeRequestOptionsAsync(user, Context); 574HttpContext = Context, 618HttpContext = Context, 697await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, claimsPrincipal, props); 706var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme); 707await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 745var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorRememberMeScheme); 760await Context.SignInAsync(IdentityConstants.TwoFactorRememberMeScheme, 780await Context.SignOutAsync(IdentityConstants.TwoFactorRememberMeScheme); 853await Context.SignOutAsync(IdentityConstants.ExternalScheme); 858await Context.SignOutAsync(IdentityConstants.TwoFactorUserIdScheme); 1083var auth = await Context.AuthenticateAsync(IdentityConstants.ExternalScheme); 1231await Context.SignInAsync(IdentityConstants.TwoFactorUserIdScheme, StoreTwoFactorInfo(userId, loginProvider)); 1240await Context.SignOutAsync(IdentityConstants.ExternalScheme); 1260var result = await Context.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);