Versions in this module Expand all Collapse all v0 v0.0.1 Nov 3, 2022 Changes in this version + func Encode(header *Header, c *ClaimSet, signature *rsa.PrivateKey) (string, error) + type ClaimSet struct + Aud string + Exp int64 + Iat int64 + Iss string + PrivateClaims map[string]interface{} + Prn string + Scope string + Sub string + Typ string + func Decode(payload string) (*ClaimSet, error) + type Header struct + Algorithm string + Typ string