yavsc/Yavsc/Models/Auth/Client.cs

21 lines
536 B
C#

8 years ago
using System.ComponentModel.DataAnnotations;
8 years ago
namespace Yavsc.Models.Auth
{
8 years ago
public class Client
{
8 years ago
[Key]
8 years ago
public string Id { get; set; }
public string DisplayName { get; set; }
public string RedirectUri { get; set; }
8 years ago
[MaxLength(100)]
public string LogoutRedirectUri { get; set; }
public string Secret { get; set; }
8 years ago
public ApplicationTypes Type { get; set; }
public bool Active { get; set; }
public int RefreshTokenLifeTime { get; set; }
8 years ago
}
}