source: FarmatikoServices/Infrastructure/JwtTokenConfig.cs@ afc9a9a

Last change on this file since afc9a9a was d23bf72, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Add SystemService, Auth, fix a lil bugs :)

  • Property mode set to 100644
File size: 597 bytes
Line 
1using System.Text.Json.Serialization;
2
3namespace FarmatikoServices.Infrastructure
4{
5 public class JwtTokenConfig
6 {
7 [JsonPropertyName("secret")]
8 public string Secret { get; set; }
9
10 [JsonPropertyName("issuer")]
11 public string Issuer { get; set; }
12
13 [JsonPropertyName("audience")]
14 public string Audience { get; set; }
15
16 [JsonPropertyName("accessTokenExpiration")]
17 public int AccessTokenExpiration { get; set; }
18
19 [JsonPropertyName("refreshTokenExpiration")]
20 public int RefreshTokenExpiration { get; set; }
21 }
22}
Note: See TracBrowser for help on using the repository browser.