Files
aliasvault/apps/server/Shared/AliasVault.Shared/Models/WebApi/Auth/TokenModel.cs
2025-04-30 19:03:18 +02:00

29 lines
854 B
C#

//-----------------------------------------------------------------------
// <copyright file="TokenModel.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasVault.Shared.Models.WebApi.Auth;
using System.Text.Json.Serialization;
/// <summary>
/// Token model.
/// </summary>
public class TokenModel
{
/// <summary>
/// Gets or sets the token.
/// </summary>
[JsonPropertyName("token")]
public string Token { get; set; } = null!;
/// <summary>
/// Gets or sets the refresh token.
/// </summary>
[JsonPropertyName("refreshToken")]
public string RefreshToken { get; set; } = null!;
}