Browse Source
Rename `GetDomainDcAsync` to `GetDomainAsync`.
pull/11156/head
maliming
4 years ago
No known key found for this signature in database
GPG Key ID: 96224957E51C89E
2 changed files with
2 additions and
2 deletions
-
framework/src/Volo.Abp.Ldap/Volo/Abp/Ldap/ILdapSettingProvider.cs
-
framework/src/Volo.Abp.Ldap/Volo/Abp/Ldap/LdapSettingProvider.cs
|
|
|
@ -10,7 +10,7 @@ public interface ILdapSettingProvider |
|
|
|
|
|
|
|
public Task<string> GetBaseDcAsync(); |
|
|
|
|
|
|
|
public Task<string> GetDomainDcAsync(); |
|
|
|
public Task<string> GetDomainAsync(); |
|
|
|
|
|
|
|
public Task<string> GetUserNameAsync(); |
|
|
|
|
|
|
|
|
|
|
|
@ -29,7 +29,7 @@ public class LdapSettingProvider : ILdapSettingProvider, ITransientDependency |
|
|
|
return await SettingProvider.GetOrNullAsync(LdapSettingNames.BaseDc); |
|
|
|
} |
|
|
|
|
|
|
|
public async Task<string> GetDomainDcAsync() |
|
|
|
public async Task<string> GetDomainAsync() |
|
|
|
{ |
|
|
|
return await SettingProvider.GetOrNullAsync(LdapSettingNames.Domain); |
|
|
|
} |
|
|
|
|