Documentation ¶
Index ¶
- Variables
- func Init()
- type JwtToken
- func (t *JwtToken) Generate(s *secret.Info) (string, error)
- func (t *JwtToken) NewSecretKey(alg secret.Algorithm) ([]byte, error)
- func (t *JwtToken) Parse(md *common.Metadata) (*secret.Info, error)
- func (t *JwtToken) ParseRaw(token string) (*secret.Info, error)
- func (t *JwtToken) Refresh(s *secret.Info) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
UnsupportedAlgorithm = errors.New("substratum: algorithm not supported")
)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.