Line | |
---|
1 | using System.Text.Json.Serialization;
|
---|
2 |
|
---|
3 | namespace 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.