forked from xiongyuxing/tiku-backend.net
14 lines
290 B
C#
14 lines
290 B
C#
using Tiku.Domain.Tenancy;
|
|
|
|
namespace Tiku.Application.Auth;
|
|
|
|
public interface ITokenService
|
|
{
|
|
(string Token, DateTimeOffset ExpiresAt) CreateAccessToken(
|
|
Guid userId,
|
|
Guid sessionId,
|
|
string? phone,
|
|
string? email,
|
|
TenantMembership membership);
|
|
}
|