27 lines
614 B
C#
27 lines
614 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ModVersionChecker.repository.api.dto
|
|
{
|
|
public class JwtTokenResponse
|
|
{
|
|
public JwtTokenResponse() { }
|
|
public string Token { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("exp")]
|
|
public long ExpireAt { get; set; } = 0;
|
|
|
|
[JsonPropertyName("iat")]
|
|
public long IssuedAt { get; set; } = 0;
|
|
|
|
[JsonPropertyName("sub")]
|
|
public string Subject { get; set; } = string.Empty;
|
|
|
|
|
|
}
|
|
}
|