2023-10-19 14:59:02 -05:00
|
|
|
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);
|
2024-01-08 00:11:08 -05:00
|
|
|
|
|
|
|
Task<string> ConvertJsonToDadeSchoolsJwt(string json);
|
2023-10-19 14:59:02 -05:00
|
|
|
}
|
|
|
|
}
|