Show / Hide Table of Contents

Class AbpSignInManager

Inheritance
object
SignInManager<IdentityUser>
AbpSignInManager
Inherited Members
SignInManager<IdentityUser>.CreateUserPrincipalAsync(IdentityUser)
SignInManager<IdentityUser>.IsSignedIn(ClaimsPrincipal)
SignInManager<IdentityUser>.CanSignInAsync(IdentityUser)
SignInManager<IdentityUser>.RefreshSignInAsync(IdentityUser)
SignInManager<IdentityUser>.SignInAsync(IdentityUser, bool, string)
SignInManager<IdentityUser>.SignInAsync(IdentityUser, AuthenticationProperties, string)
SignInManager<IdentityUser>.SignInWithClaimsAsync(IdentityUser, bool, IEnumerable<Claim>)
SignInManager<IdentityUser>.SignInWithClaimsAsync(IdentityUser, AuthenticationProperties, IEnumerable<Claim>)
SignInManager<IdentityUser>.SignOutAsync()
SignInManager<IdentityUser>.ValidateSecurityStampAsync(ClaimsPrincipal)
SignInManager<IdentityUser>.ValidateTwoFactorSecurityStampAsync(ClaimsPrincipal)
SignInManager<IdentityUser>.ValidateSecurityStampAsync(IdentityUser, string)
SignInManager<IdentityUser>.PasswordSignInAsync(IdentityUser, string, bool, bool)
SignInManager<IdentityUser>.CheckPasswordSignInAsync(IdentityUser, string, bool)
SignInManager<IdentityUser>.IsTwoFactorClientRememberedAsync(IdentityUser)
SignInManager<IdentityUser>.RememberTwoFactorClientAsync(IdentityUser)
SignInManager<IdentityUser>.ForgetTwoFactorClientAsync()
SignInManager<IdentityUser>.TwoFactorRecoveryCodeSignInAsync(string)
SignInManager<IdentityUser>.TwoFactorAuthenticatorSignInAsync(string, bool, bool)
SignInManager<IdentityUser>.TwoFactorSignInAsync(string, string, bool, bool)
SignInManager<IdentityUser>.GetTwoFactorAuthenticationUserAsync()
SignInManager<IdentityUser>.ExternalLoginSignInAsync(string, string, bool)
SignInManager<IdentityUser>.ExternalLoginSignInAsync(string, string, bool, bool)
SignInManager<IdentityUser>.GetExternalAuthenticationSchemesAsync()
SignInManager<IdentityUser>.GetExternalLoginInfoAsync(string)
SignInManager<IdentityUser>.UpdateExternalAuthenticationTokensAsync(ExternalLoginInfo)
SignInManager<IdentityUser>.ConfigureExternalAuthenticationProperties(string, string, string)
SignInManager<IdentityUser>.IsTwoFactorEnabledAsync(IdentityUser)
SignInManager<IdentityUser>.SignInOrTwoFactorAsync(IdentityUser, bool, string, bool)
SignInManager<IdentityUser>.IsLockedOut(IdentityUser)
SignInManager<IdentityUser>.LockedOut(IdentityUser)
SignInManager<IdentityUser>.ResetLockout(IdentityUser)
SignInManager<IdentityUser>.Logger
SignInManager<IdentityUser>.UserManager
SignInManager<IdentityUser>.ClaimsFactory
SignInManager<IdentityUser>.Options
SignInManager<IdentityUser>.AuthenticationScheme
SignInManager<IdentityUser>.Context
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Identity.AspNetCore
Assembly: Volo.Abp.Identity.AspNetCore.dll
Syntax
public class AbpSignInManager : SignInManager<IdentityUser>

Constructors

AbpSignInManager(IdentityUserManager, IHttpContextAccessor, IUserClaimsPrincipalFactory<IdentityUser>, IOptions<IdentityOptions>, ILogger<SignInManager<IdentityUser>>, IAuthenticationSchemeProvider, IUserConfirmation<IdentityUser>, IOptions<AbpIdentityOptions>, ISettingProvider)

Declaration
public AbpSignInManager(IdentityUserManager userManager, IHttpContextAccessor contextAccessor, IUserClaimsPrincipalFactory<IdentityUser> claimsFactory, IOptions<IdentityOptions> optionsAccessor, ILogger<SignInManager<IdentityUser>> logger, IAuthenticationSchemeProvider schemes, IUserConfirmation<IdentityUser> confirmation, IOptions<AbpIdentityOptions> options, ISettingProvider settingProvider)
Parameters
Type Name Description
IdentityUserManager userManager
IHttpContextAccessor contextAccessor
IUserClaimsPrincipalFactory<IdentityUser> claimsFactory
IOptions<IdentityOptions> optionsAccessor
ILogger<SignInManager<IdentityUser>> logger
IAuthenticationSchemeProvider schemes
IUserConfirmation<IdentityUser> confirmation
IOptions<AbpIdentityOptions> options
ISettingProvider settingProvider

Properties

AbpOptions

Declaration
protected AbpIdentityOptions AbpOptions { get; }
Property Value
Type Description
AbpIdentityOptions

SettingProvider

Declaration
protected ISettingProvider SettingProvider { get; }
Property Value
Type Description
ISettingProvider

Methods

CallSignInOrTwoFactorAsync(IdentityUser, bool, string, bool)

Declaration
public virtual Task<SignInResult> CallSignInOrTwoFactorAsync(IdentityUser user, bool isPersistent, string loginProvider = null, bool bypassTwoFactor = false)
Parameters
Type Name Description
IdentityUser user
bool isPersistent
string loginProvider
bool bypassTwoFactor
Returns
Type Description
Task<SignInResult>

PasswordSignInAsync(string, string, bool, bool)

Declaration
public override Task<SignInResult> PasswordSignInAsync(string userName, string password, bool isPersistent, bool lockoutOnFailure)
Parameters
Type Name Description
string userName
string password
bool isPersistent
bool lockoutOnFailure
Returns
Type Description
Task<SignInResult>
Overrides
SignInManager<IdentityUser>.PasswordSignInAsync(string, string, bool, bool)

PreSignInCheck(IdentityUser)

Declaration
protected override Task<SignInResult> PreSignInCheck(IdentityUser user)
Parameters
Type Name Description
IdentityUser user
Returns
Type Description
Task<SignInResult>
Overrides
SignInManager<IdentityUser>.PreSignInCheck(IdentityUser)

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform