mirror of
https://github.com/vknet/vk.git
synced 2026-07-13 18:08:26 +00:00
22 lines
No EOL
468 B
C#
22 lines
No EOL
468 B
C#
using System;
|
|
|
|
namespace VkNet.Infrastructure;
|
|
|
|
/// <inheritdoc cref="ITokenManager" />
|
|
public class TokenManager : ITokenManager
|
|
{
|
|
/// <inheritdoc />
|
|
public string Token { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public int ExpireTime { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public bool IsExpired { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public bool RefreshToken() => throw new NotImplementedException();
|
|
|
|
/// <inheritdoc />
|
|
public void SetToken(string token) => Token = token;
|
|
} |