MireaBackend/Security/Common/Interfaces/IRevokedToken.cs

10 lines
254 B
C#
Raw Normal View History

2024-05-29 05:54:45 +03:00
using System;
using System.Threading.Tasks;
namespace Mirea.Api.Security.Common.Interfaces;
public interface IRevokedToken
{
Task AddTokenToRevokedAsync(string token, DateTimeOffset expiresIn);
Task<bool> IsTokenRevokedAsync(string token);
}