phase 1
This commit is contained in:
26
ModVersionChecker/repository/api/dto/JwtTokenResponse.cs
Normal file
26
ModVersionChecker/repository/api/dto/JwtTokenResponse.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
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;
|
||||
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user