2016-05-20 12:53:53 +02:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2016-05-17 18:22:18 +02:00
|
|
|
|
|
2016-06-12 01:32:51 +02:00
|
|
|
|
namespace Yavsc.Models.Auth
|
2016-05-17 18:22:18 +02:00
|
|
|
|
{
|
2016-06-12 01:32:51 +02:00
|
|
|
|
public class Client
|
2016-05-17 18:22:18 +02:00
|
|
|
|
{
|
2016-05-20 12:53:53 +02:00
|
|
|
|
[Key]
|
2016-06-12 01:32:51 +02:00
|
|
|
|
public string Id { get; set; }
|
2016-05-17 18:22:18 +02:00
|
|
|
|
public string DisplayName { get; set; }
|
|
|
|
|
|
public string RedirectUri { get; set; }
|
2016-06-12 01:32:51 +02:00
|
|
|
|
[MaxLength(100)]
|
2016-05-17 18:22:18 +02:00
|
|
|
|
public string LogoutRedirectUri { get; set; }
|
|
|
|
|
|
public string Secret { get; set; }
|
2016-06-12 01:32:51 +02:00
|
|
|
|
public ApplicationTypes Type { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public bool Active { get; set; }
|
|
|
|
|
|
public int RefreshTokenLifeTime { get; set; }
|
|
|
|
|
|
|
2016-05-20 12:53:53 +02:00
|
|
|
|
}
|
2016-05-17 18:22:18 +02:00
|
|
|
|
}
|