mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-02 03:53:24 +00:00
13 lines
545 B
C#
13 lines
545 B
C#
|
|
using SeaHaven.Services.DTOs;
|
||
|
|
|
||
|
|
namespace SeaHaven.Services.Interfaces
|
||
|
|
{
|
||
|
|
public interface IVendorPortalTokenService
|
||
|
|
{
|
||
|
|
Task<VendorPortalTokenStateDTO> GetOrCreateActiveTokenAsync(int vendorId, CancellationToken cancellationToken);
|
||
|
|
Task<VendorPortalSession?> ResolveSessionAsync(string? token, CancellationToken cancellationToken);
|
||
|
|
Task<VendorPortalTokenStateDTO> RotateAsync(int vendorId, CancellationToken cancellationToken);
|
||
|
|
Task RevokeAllAsync(int vendorId, CancellationToken cancellationToken);
|
||
|
|
}
|
||
|
|
}
|