IdentityShroud/IdentityShroud.Core/Model/ClientSecret.cs

16 lines
453 B
C#
Raw Normal View History

2026-02-20 17:35:38 +01:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using IdentityShroud.Core.Contracts;
2026-02-20 17:35:38 +01:00
namespace IdentityShroud.Core.Model;
[Table("client_secret")]
public class ClientSecret
{
[Key]
public int Id { get; set; }
public Guid ClientId { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime? RevokedAt { get; set; }
public required EncryptedValue Secret { get; set; }
2026-02-20 17:35:38 +01:00
}