| | | 1 | | using Elsa.Common.Entities; |
| | | 2 | | |
| | | 3 | | namespace Elsa.Identity.Entities; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Represents an application. |
| | | 7 | | /// </summary> |
| | | 8 | | public class Application : Entity |
| | | 9 | | { |
| | | 10 | | /// <summary> |
| | | 11 | | /// The client ID. |
| | | 12 | | /// </summary> |
| | 0 | 13 | | public string ClientId { get; set; } = null!; |
| | | 14 | | |
| | | 15 | | /// <summary> |
| | | 16 | | /// The hashed client secret. |
| | | 17 | | /// </summary> |
| | 0 | 18 | | public string HashedClientSecret { get; set; } = null!; |
| | | 19 | | |
| | | 20 | | /// <summary> |
| | | 21 | | /// The hashed client secret salt. |
| | | 22 | | /// </summary> |
| | 0 | 23 | | public string HashedClientSecretSalt { get; set; } = null!; |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// Gets or sets the name. |
| | | 27 | | /// </summary> |
| | 0 | 28 | | public string Name { get; set; } = null!; |
| | | 29 | | |
| | | 30 | | /// <summary> |
| | | 31 | | /// Gets or sets the hashed password. |
| | | 32 | | /// </summary> |
| | 0 | 33 | | public string HashedApiKey { get; set; } = null!; |
| | | 34 | | |
| | | 35 | | /// <summary> |
| | | 36 | | /// Gets or sets the hashed password salt. |
| | | 37 | | /// </summary> |
| | 0 | 38 | | public string HashedApiKeySalt { get; set; } = null!; |
| | | 39 | | |
| | | 40 | | /// <summary> |
| | | 41 | | /// Gets or sets the roles. |
| | | 42 | | /// </summary> |
| | 0 | 43 | | public ICollection<string> Roles { get; set; } = new List<string>(); |
| | | 44 | | } |