DocSpace-client/web/ASC.Web.Api/Models/CapabilitiesData.cs

30 lines
740 B
C#
Raw Normal View History

2020-11-02 16:27:08 +00:00
using System.Collections.Generic;
2020-10-31 14:11:45 +00:00
namespace ASC.Web.Api.Models
{
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,
};
}
}
}