2022-01-31 15:13:08 +00:00
|
|
|
|
namespace ASC.Web.Api.Models
|
2020-10-31 14:11:45 +00:00
|
|
|
|
{
|
|
|
|
|
public class CapabilitiesData
|
|
|
|
|
{
|
|
|
|
|
public bool LdapEnabled { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<string> Providers { get; set; }
|
|
|
|
|
|
|
|
|
|
public string SsoLabel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// if empty sso is disabled
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SsoUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
public static CapabilitiesData GetSample()
|
|
|
|
|
{
|
|
|
|
|
return new CapabilitiesData
|
|
|
|
|
{
|
|
|
|
|
LdapEnabled = false,
|
|
|
|
|
// Providers = AccountLinkControl.AuthProviders,
|
|
|
|
|
SsoLabel = string.Empty,
|
|
|
|
|
SsoUrl = string.Empty,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|