12 lines
359 B
C#
12 lines
359 B
C#
using System.IdentityModel.Tokens.Jwt;
|
|
using System.Security.Claims;
|
|
using Microsoft.IdentityModel.Tokens;
|
|
|
|
namespace BlueWest.Data.Auth.Context.Users
|
|
{
|
|
public interface IJwtTokenHandler
|
|
{
|
|
string WriteToken(JwtSecurityToken jwt);
|
|
ClaimsPrincipal ValidateToken(string token, TokenValidationParameters tokenValidationParameters);
|
|
}
|
|
} |