9 lines
220 B
C#
9 lines
220 B
C#
|
using System;
|
|||
|
|
|||
|
namespace Mirea.Api.Security.Common.Interfaces;
|
|||
|
|
|||
|
public interface IAccessToken
|
|||
|
{
|
|||
|
(string Token, DateTime ExpireIn) GenerateToken(string userId);
|
|||
|
DateTimeOffset GetExpireDateTime(string token);
|
|||
|
}
|