Show / Hide Table of Contents

Class ExternalLoginProviderBase

Inheritance
System.Object
ExternalLoginProviderBase
Implements
IExternalLoginProvider
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public abstract class ExternalLoginProviderBase : object, IExternalLoginProvider

Constructors

ExternalLoginProviderBase(IGuidGenerator, ICurrentTenant, IdentityUserManager, IIdentityUserRepository)

Declaration
protected ExternalLoginProviderBase(IGuidGenerator guidGenerator, ICurrentTenant currentTenant, IdentityUserManager userManager, IIdentityUserRepository identityUserRepository)
Parameters
Type Name Description
IGuidGenerator guidGenerator
ICurrentTenant currentTenant
IdentityUserManager userManager
IIdentityUserRepository identityUserRepository

Properties

CurrentTenant

Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
Type Description
ICurrentTenant

GuidGenerator

Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
Type Description
IGuidGenerator

IdentityUserRepository

Declaration
protected IIdentityUserRepository IdentityUserRepository { get; }
Property Value
Type Description
IIdentityUserRepository

UserManager

Declaration
protected IdentityUserManager UserManager { get; }
Property Value
Type Description
IdentityUserManager

Methods

CreateUserAsync(String, String)

Declaration
public virtual Task<IdentityUser> CreateUserAsync(string userName, string providerName)
Parameters
Type Name Description
System.String userName
System.String providerName
Returns
Type Description
Task<IdentityUser>

GetUserInfoAsync(String)

Declaration
protected abstract Task<ExternalLoginUserInfo> GetUserInfoAsync(string userName)
Parameters
Type Name Description
System.String userName
Returns
Type Description
Task<ExternalLoginUserInfo>

GetUserInfoAsync(IdentityUser)

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

TryAuthenticateAsync(String, String)

Declaration
public abstract Task<bool> TryAuthenticateAsync(string userName, string plainPassword)
Parameters
Type Name Description
System.String userName
System.String plainPassword
Returns
Type Description
Task<System.Boolean>

UpdateUserAsync(IdentityUser, String)

Declaration
public virtual Task UpdateUserAsync(IdentityUser user, string providerName)
Parameters
Type Name Description
IdentityUser user
System.String providerName
Returns
Type Description
Task

Implements

IExternalLoginProvider

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft