2020-12-22 13:59:49 +01:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using zero.Core.Attributes;
|
2020-12-18 16:51:32 +01:00
|
|
|
using zero.Core.Entities;
|
|
|
|
|
|
|
|
|
|
namespace zero.Core.Tokens
|
|
|
|
|
{
|
|
|
|
|
[Collection("Tokens")]
|
2020-12-21 00:20:28 +01:00
|
|
|
public class SecurityToken : IZeroDbConventions
|
2020-12-18 16:51:32 +01:00
|
|
|
{
|
2020-12-21 00:20:28 +01:00
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Key { get; set; }
|
2020-12-18 16:51:32 +01:00
|
|
|
|
|
|
|
|
public string Token { get; set; }
|
2020-12-22 13:59:49 +01:00
|
|
|
|
|
|
|
|
public Dictionary<string, string> Metadata { get; set; } = new Dictionary<string, string>();
|
2020-12-18 16:51:32 +01:00
|
|
|
}
|
|
|
|
|
}
|