//
pkg.gl
Category
github.com/go-chassis/go-chassis/v2
middleware
jwt
package
2.7.1
Repository:
https://github.com/go-chassis/go-chassis.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
13
Dependents
3
Files
123 SLOC
#
Functions
SetExpire
SetExpire reset the expire time.
Use
Use put a custom auth logic then register handler to chassis.
#
Variables
ErrInvalidAuth
errors.
ErrNoHeader
errors.
#
Structs
Auth
Auth should implement auth logic it is singleton.
Handler
Handler is is a jwt interceptor.