Class ExternalLoginProviderWithPasswordBase
Inheritance
ExternalLoginProviderWithPasswordBase
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
Properties
CanObtainUserInfoWithoutPassword
Declaration
public bool CanObtainUserInfoWithoutPassword { get; }
Property Value
Methods
CreateUserAsync(string, string, string)
Declaration
public Task<IdentityUser> CreateUserAsync(string userName, string providerName, string plainPassword)
Parameters
Returns
GetUserInfoAsync(string)
Declaration
protected override Task<ExternalLoginUserInfo> GetUserInfoAsync(string userName)
Parameters
| Type |
Name |
Description |
| string |
userName |
|
Returns
Overrides
GetUserInfoAsync(string, string)
Declaration
protected abstract Task<ExternalLoginUserInfo> GetUserInfoAsync(string userName, string plainPassword)
Parameters
Returns
GetUserInfoAsync(IdentityUser, string)
Declaration
protected virtual Task<ExternalLoginUserInfo> GetUserInfoAsync(IdentityUser user, string plainPassword)
Parameters
Returns
UpdateUserAsync(IdentityUser, string, string)
Declaration
public Task UpdateUserAsync(IdentityUser user, string providerName, string plainPassword)
Parameters
Returns
Implements
Extension Methods