11 lines
323 B
C#
11 lines
323 B
C#
|
using DamageAssesment.Api.UsersAccess.Models;
|
||
|
using System.Security.Claims;
|
||
|
|
||
|
namespace DamageAssesment.Api.UsersAccess.Interfaces
|
||
|
{
|
||
|
public interface ITokenServiceProvider
|
||
|
{
|
||
|
Task<string> GenerateToken(Models.User user);
|
||
|
Task<TokenResponse> TokenAuthenticate(Models.User user, Claim[] claims);
|
||
|
}
|
||
|
}
|