//
pkg.gl
Category
github.com/jexia/semaphore
pkg
functions
lib
jwt
package
2.1.0+incompatible
Repository:
https://github.com/jexia/semaphore.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
0
Files
197 SLOC
#
Functions
HMAC
HMAC creates simple JWT validator with provided secret string.
New
New creates custom function to validate JWT with provided validator.
RSA
RSA creates a JWT validator with provided public key.
#
Interfaces
Claims
Claims interface.
Reader
Reader is a claims reader interface.
#
Type aliases
ReaderFunc
ReaderFunc allows regular function with a proper signature to be used as a Reader.