Skip to content

Instantly share code, notes, and snippets.

@explorer14
Created May 3, 2018 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save explorer14/6eb74082b521056b46676e6f6b6f7d29 to your computer and use it in GitHub Desktop.
Save explorer14/6eb74082b521056b46676e6f6b6f7d29 to your computer and use it in GitHub Desktop.
public interface IJwtTokenGenerator
{
TokenWithClaimsPrincipal GenerateAccessTokenWithClaimsPrincipal(string userName,
IEnumerable userClaims);
string GenerateAccessToken(string userName,
IEnumerable userClaims);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment