Release v1.0.0 #16
9
Security/Common/Interfaces/IAccessToken.cs
Normal file
9
Security/Common/Interfaces/IAccessToken.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Mirea.Api.Security.Common.Interfaces;
|
||||||
|
|
||||||
|
public interface IAccessToken
|
||||||
|
{
|
||||||
|
(string Token, DateTime ExpireIn) GenerateToken(string userId);
|
||||||
|
DateTimeOffset GetExpireDateTime(string token);
|
||||||
|
}
|
Reference in New Issue
Block a user