Versions in this module Expand all Collapse all v0 v0.0.6 Aug 17, 2021 v0.0.5 Aug 4, 2021 Changes in this version + func GetPrivateKey(signingMethod string) (interface{}, error) + func GetPublicKey(signingMethod string) (interface{}, error) + func GetSigningMethod() jwt.SigningMethod + func GetTokenSignedString(t *jwt.Token) (string, error) + func InitFromConfig(cfg config.Config) error + func NewToken() *jwt.Token + func NewTokenWithClaims(claims jwt.Claims) *jwt.Token + func ParseToken(s string) (*jwt.Token, error) + func ParseTokenWithClaims(s string, claims jwt.Claims) (*jwt.Token, error) + func SetECDSAPrivateKey(k []byte) error + func SetECDSAPublicKey(k []byte) error + func SetHMACKey(k []byte) + func SetRSAPrivateKey(k []byte) error + func SetRSAPublicKey(k []byte) error + func SetSigningMethod(alg string) error