Files

39 lines
706 B
C#
Raw Normal View History

2024-02-13 02:59:40 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Services.Utility.HttpClient
2024-02-13 02:59:40 +01:00
{
public class Token
{
#region PROPERTIES
public string Schema { get; private set; }
public byte[] TokenValue { get; private set; }
#endregion
#region CONSTRUCTORS
public Token(string schema, byte[] tokenValue)
{
Schema = schema;
TokenValue = tokenValue;
}
#endregion
#region PUBLIC METHODS
public override string ToString() => $"{Schema} {Encoding.UTF8.GetString(TokenValue)}";
#endregion
}
}