type JSONWebToken … type NestedJSONWebToken … // Claims deserializes a JSONWebToken into dest using the provided key. func (t *JSONWebToken) Claims(key interface{ … } // UnsafeClaimsWithoutVerification deserializes the claims of a // JSONWebToken into the dests. For signed JWTs, the claims are not // verified. This function won't work for encrypted JWTs. func (t *JSONWebToken) UnsafeClaimsWithoutVerification(dest ...interface{ … } func (t *NestedJSONWebToken) Decrypt(decryptionKey interface{ … } // ParseSigned parses token from JWS form. func ParseSigned(s string) (*JSONWebToken, error) { … } // ParseEncrypted parses token from JWE form. func ParseEncrypted(s string) (*JSONWebToken, error) { … } // ParseSignedAndEncrypted parses signed-then-encrypted token from JWE form. func ParseSignedAndEncrypted(s string) (*NestedJSONWebToken, error) { … } func tryJWKS(headers []jose.Header, key interface{ … }