First Initial
This commit is contained in:
15
AuthenticationService/IAuthService.cs
Normal file
15
AuthenticationService/IAuthService.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Security.Claims;
|
||||
using System.Collections.Generic;
|
||||
using AuthenticationService.Models;
|
||||
|
||||
namespace AuthenticationService.Managers
|
||||
{
|
||||
public interface IAuthService
|
||||
{
|
||||
string SecretKey { get; set; }
|
||||
|
||||
bool IsTokenValid(string token);
|
||||
string GenerateToken(IAuthContainerModel model);
|
||||
IEnumerable<Claim> GetTokenClaims(string token);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user