Rename `IsLdaps ` to `GetLdapOverSsl`.

pull/17865/head
maliming 1 year ago
parent 3682b1df1c
commit d7c3e5c6c6
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4

@ -4,6 +4,8 @@ namespace Volo.Abp.Ldap;
public interface ILdapSettingProvider
{
public Task<bool> GetLdapOverSsl();
public Task<string?> GetServerHostAsync();
public Task<int> GetServerPortAsync();

@ -14,7 +14,7 @@ public class LdapSettingProvider : ILdapSettingProvider, ITransientDependency
SettingProvider = settingProvider;
}
public virtual async Task<bool> IsLdaps()
public virtual async Task<bool> GetLdapOverSsl()
{
return (await SettingProvider.GetOrNullAsync(LdapSettingNames.Ldaps))?.To<bool>() ?? default;
}

Loading…
Cancel
Save