Show / Hide Table of Contents

Class ExternalLoginProviderWithPasswordBase

Inheritance
object
ExternalLoginProviderBase
ExternalLoginProviderWithPasswordBase
OAuthExternalLoginProvider
Implements
IExternalLoginProvider
IExternalLoginProviderWithPassword
Inherited Members
ExternalLoginProviderBase.TryAuthenticateAsync(string, string)
ExternalLoginProviderBase.IsEnabledAsync()
ExternalLoginProviderBase.CreateUserAsync(string, string)
ExternalLoginProviderBase.CreateUserAsync(ExternalLoginUserInfo, string, string)
ExternalLoginProviderBase.UpdateUserAsync(IdentityUser, string)
ExternalLoginProviderBase.UpdateUserAsync(IdentityUser, ExternalLoginUserInfo, string)
ExternalLoginProviderBase.GetUserInfoAsync(IdentityUser)
ExternalLoginProviderBase.GuidGenerator
ExternalLoginProviderBase.CurrentTenant
ExternalLoginProviderBase.UserManager
ExternalLoginProviderBase.IdentityUserRepository
ExternalLoginProviderBase.IdentityOptions
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public abstract class ExternalLoginProviderWithPasswordBase : ExternalLoginProviderBase, IExternalLoginProvider, IExternalLoginProviderWithPassword

Constructors

ExternalLoginProviderWithPasswordBase(IGuidGenerator, ICurrentTenant, IdentityUserManager, IIdentityUserRepository, IOptions<IdentityOptions>, bool)

Declaration
public ExternalLoginProviderWithPasswordBase(IGuidGenerator guidGenerator, ICurrentTenant currentTenant, IdentityUserManager userManager, IIdentityUserRepository identityUserRepository, IOptions<IdentityOptions> identityOptions, bool canObtainUserInfoWithoutPassword = false)
Parameters
Type Name Description
IGuidGenerator guidGenerator
ICurrentTenant currentTenant
IdentityUserManager userManager
IIdentityUserRepository identityUserRepository
IOptions<IdentityOptions> identityOptions
bool canObtainUserInfoWithoutPassword

Properties

CanObtainUserInfoWithoutPassword

Declaration
public bool CanObtainUserInfoWithoutPassword { get; }
Property Value
Type Description
bool

Methods

CreateUserAsync(string, string, string)

Declaration
public Task<IdentityUser> CreateUserAsync(string userName, string providerName, string plainPassword)
Parameters
Type Name Description
string userName
string providerName
string plainPassword
Returns
Type Description
Task<IdentityUser>

GetUserInfoAsync(string)

Declaration
protected override Task<ExternalLoginUserInfo> GetUserInfoAsync(string userName)
Parameters
Type Name Description
string userName
Returns
Type Description
Task<ExternalLoginUserInfo>
Overrides
ExternalLoginProviderBase.GetUserInfoAsync(string)

GetUserInfoAsync(string, string)

Declaration
protected abstract Task<ExternalLoginUserInfo> GetUserInfoAsync(string userName, string plainPassword)
Parameters
Type Name Description
string userName
string plainPassword
Returns
Type Description
Task<ExternalLoginUserInfo>

GetUserInfoAsync(IdentityUser, string)

Declaration
protected virtual Task<ExternalLoginUserInfo> GetUserInfoAsync(IdentityUser user, string plainPassword)
Parameters
Type Name Description
IdentityUser user
string plainPassword
Returns
Type Description
Task<ExternalLoginUserInfo>

UpdateUserAsync(IdentityUser, string, string)

Declaration
public Task UpdateUserAsync(IdentityUser user, string providerName, string plainPassword)
Parameters
Type Name Description
IdentityUser user
string providerName
string plainPassword
Returns
Type Description
Task

Implements

IExternalLoginProvider
IExternalLoginProviderWithPassword

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 Volosoft