Versions in this module Expand all Collapse all v0 v0.0.10 Jan 6, 2016 v0.0.9 Oct 17, 2015 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