Class LdapManager
Inheritance
object
LdapManager
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Ldap
Assembly: Volo.Abp.Ldap.dll
Syntax
public class LdapManager : ILdapManager, ITransientDependency
Constructors
LdapManager(ILdapSettingProvider)
Declaration
public LdapManager(ILdapSettingProvider ldapSettingProvider)
Parameters
Properties
LdapSettingProvider
Declaration
protected ILdapSettingProvider LdapSettingProvider { get; }
Property Value
Logger
Declaration
public ILogger<LdapManager> Logger { get; set; }
Property Value
| Type |
Description |
| Microsoft.Extensions.Logging.ILogger<TCategoryName><LdapManager> |
|
Methods
AuthenticateAsync(string, string)
Declaration
public virtual Task<bool> AuthenticateAsync(string username, string password)
Parameters
| Type |
Name |
Description |
| string |
username |
|
| string |
password |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><bool> |
|
AuthenticateLdapConnectionAsync(ILdapConnection, string, string)
Declaration
protected virtual Task AuthenticateLdapConnectionAsync(ILdapConnection connection, string username, string password)
Parameters
| Type |
Name |
Description |
| LdapForNet.ILdapConnection |
connection |
|
| string |
username |
|
| string |
password |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Declaration
protected virtual Task ConfigureLdapConnectionAsync(ILdapConnection ldapConnection)
Parameters
| Type |
Name |
Description |
| LdapForNet.ILdapConnection |
ldapConnection |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
ConnectAsync(ILdapConnection)
Declaration
protected virtual Task ConnectAsync(ILdapConnection ldapConnection)
Parameters
| Type |
Name |
Description |
| LdapForNet.ILdapConnection |
ldapConnection |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
CreateLdapConnectionAsync()
Declaration
protected virtual Task<ILdapConnection> CreateLdapConnectionAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><LdapForNet.ILdapConnection> |
|
Implements
Extension Methods