SignInManager<TUser>
SignInManager(UserManager<TUser>, IHttpContextAccessor, IUserClaimsPrincipalFactory<TUser>, IOptions<IdentityOptions>, ILogger<SignInManager<TUser>>, IAuthenticationSchemeProvider)
SignInManager(UserManager<TUser>, IHttpContextAccessor, IUserClaimsPrincipalFactory<TUser>, IOptions<IdentityOptions>, ILogger<SignInManager<TUser>>, IAuthenticationSchemeProvider, IUserConfirmation<TUser>)
AuthenticationScheme
ClaimsFactory
Context
Logger
Options
UserManager
CanSignInAsync(TUser)
CheckPasswordSignInAsync(TUser, String, Boolean)
ConfigureExternalAuthenticationProperties(String, String, String)
CreateUserPrincipalAsync(TUser)
ExternalLoginSignInAsync(String, String, Boolean)
ExternalLoginSignInAsync(String, String, Boolean, Boolean)
ForgetTwoFactorClientAsync()
GetExternalAuthenticationSchemesAsync()
GetExternalLoginInfoAsync(String)
GetTwoFactorAuthenticationUserAsync()
IsLockedOut(TUser)
IsSignedIn(ClaimsPrincipal)
IsTwoFactorClientRememberedAsync(TUser)
IsTwoFactorEnabledAsync(TUser)
LockedOut(TUser)
PasswordSignInAsync(String, String, Boolean, Boolean)
PasswordSignInAsync(TUser, String, Boolean, Boolean)
PreSignInCheck(TUser)
RefreshSignInAsync(TUser)
RememberTwoFactorClientAsync(TUser)
ResetLockout(TUser)
SignInAsync(TUser, AuthenticationProperties, String)
SignInAsync(TUser, Boolean, String)
SignInOrTwoFactorAsync(TUser, Boolean, String, Boolean)
SignInWithClaimsAsync(TUser, AuthenticationProperties, IEnumerable<Claim>)
SignInWithClaimsAsync(TUser, Boolean, IEnumerable<Claim>)
SignOutAsync()
TwoFactorAuthenticatorSignInAsync(String, Boolean, Boolean)
TwoFactorRecoveryCodeSignInAsync(String)
TwoFactorSignInAsync(String, String, Boolean, Boolean)
UpdateExternalAuthenticationTokensAsync(ExternalLoginInfo)
ValidateSecurityStampAsync(ClaimsPrincipal)
ValidateSecurityStampAsync(TUser, String)
ValidateTwoFactorSecurityStampAsync(ClaimsPrincipal)
net11.0-windows7.0
namespace Microsoft.AspNetCore.Identity
{
public class SignInManager<TUser>
where TUser, class
{
[AsyncStateMachine(typeof(<SignInOrTwoFactorAsync>d__56))]
protected virtual Task<SignInResult> SignInOrTwoFactorAsync(TUser user, bool isPersistent, string loginProvider = null, bool bypassTwoFactor = false);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assemblies | Microsoft.AspNetCore.Identity , Version=2.3.13.0, PublicKeyToken=adb9793829ddae60 Microsoft.AspNetCore.Identity , Version=3.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Package | Microsoft.AspNetCore.Identity (2.3.13) netstandard2.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API