You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011
  1. using System.Security.Claims;
  2. namespace BlackRock.Reporting.API.Authentication
  3. {
  4. public interface IJwtManager
  5. {
  6. string GenerateToken(string username, int expireMinutes = 20);
  7. ClaimsPrincipal GetPrincipal(string token);
  8. string GetUserName(string token);
  9. }
  10. }