Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

hashamali/gjwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gjwt

godoc tests sec go-report license

Handles authentication using JWTs.

Types

  • JWTAuth: Does JWT authentication. Contains the secret key used to sign JWTs as well as the expiration time.

Methods

  • JWTAuth.Create: Creates a JWT token with the provided metadata.
  • JWTAuth.Extract: Extracts metadata from the given JWT token.

Testing

make test

About

jwt handles JWTs.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors