//
pkg.gl
Category
github.com/iot-synergy/synergy-common
utils
jwt
package
1.3.3
Repository:
https://github.com/iot-synergy/synergy-common.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
3
Files
34 SLOC
#
Functions
NewJwtToken
NewJwtToken returns the jwt token from the given data.
StripBearerPrefixFromToken
StripBearerPrefixFromToken remove the bearer prefix in token string.
WithOption
WithOption returns the option from k/v.
#
Structs
Option
Option describes the jwt extra data.