Yuna/Yuna.OauthServer/Model/Client.cs

26 lines
831 B
C#

namespace Yuna.OauthServer.Model
{
public class Client
{
public Client(string clientName, int clientId, string secret, string clientUri, string redirectUri)
{
ClientName = clientName;
ClientId = clientId;
ClientSecret = secret;
ClientUri = clientUri;
RedirectUri = redirectUri;
}
public string ClientName { get; set; }
public int ClientId { get; set; }
public string ClientSecret { get; set; }
//public string ClientType { get; set; }
//public List<string> GrantType { get; set; }
public bool IsActive { get; set; } = false;
//public List<string> AllowedScopes { get; set; }
public string? ClientUri { get; set; }
public string RedirectUri { get; set; }
}
}