26 lines
636 B
C#
Executable File
26 lines
636 B
C#
Executable File
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Opsoft.NetCore.O3App.WebApi.Model
|
|
{
|
|
public class TokenManagement
|
|
{
|
|
[JsonProperty("secret")]
|
|
public string Secret { get; set; }
|
|
|
|
[JsonProperty("issuer")]
|
|
public string Issuer { get; set; }
|
|
|
|
[JsonProperty("audience")]
|
|
public string Audience { get; set; }
|
|
|
|
[JsonProperty("accessExpiration")]
|
|
public int AccessExpiration { get; set; }
|
|
|
|
[JsonProperty("refreshExpiration")]
|
|
public int RefreshExpiration { get; set; }
|
|
}
|
|
}
|