Class LdapExternalLoginProvider
Inheritance
LdapExternalLoginProvider
Assembly: Volo.Abp.Identity.Pro.Domain.dll
Syntax
public class LdapExternalLoginProvider : ExternalLoginProviderBase, IExternalLoginProvider, ITransientDependency
Constructors
LdapExternalLoginProvider(IGuidGenerator, ICurrentTenant, IdentityUserManager, IIdentityUserRepository, OpenLdapManager, ILdapSettingProvider, IFeatureChecker, ISettingProvider, IOptions<IdentityOptions>)
Declaration
public LdapExternalLoginProvider(IGuidGenerator guidGenerator, ICurrentTenant currentTenant, IdentityUserManager userManager, IIdentityUserRepository identityUserRepository, OpenLdapManager ldapManager, ILdapSettingProvider ldapSettingProvider, IFeatureChecker featureChecker, ISettingProvider settingProvider, IOptions<IdentityOptions> identityOptions)
Parameters
Fields
Name
Declaration
public const string Name = "Ldap"
Field Value
Properties
FeatureChecker
Declaration
protected IFeatureChecker FeatureChecker { get; }
Property Value
LdapManager
Declaration
protected OpenLdapManager LdapManager { get; }
Property Value
LdapSettingProvider
Declaration
protected ILdapSettingProvider LdapSettingProvider { get; }
Property Value
Logger
Declaration
public ILogger<LdapExternalLoginProvider> Logger { get; set; }
Property Value
SettingProvider
Declaration
protected ISettingProvider SettingProvider { get; }
Property Value
Methods
GetUserInfoAsync(string)
Declaration
protected override Task<ExternalLoginUserInfo> GetUserInfoAsync(string userName)
Parameters
| Type |
Name |
Description |
| string |
userName |
|
Returns
Overrides
IsEnabledAsync()
Declaration
public override Task<bool> IsEnabledAsync()
Returns
Overrides
NormalizeUserNameAsync(string)
Declaration
protected virtual Task<string> NormalizeUserNameAsync(string userName)
Parameters
| Type |
Name |
Description |
| string |
userName |
|
Returns
TryAuthenticateAsync(string, string)
Declaration
public override Task<bool> TryAuthenticateAsync(string userName, string plainPassword)
Parameters
Returns
Overrides
Implements
Extension Methods