Documentation ¶
Index ¶
- Variables
- type Module
- func (m *Module) Decode(compact string) (interface{}, error)
- func (m *Module) Sign(key *jose.JSONWebKey, payload, header map[string]interface{}) (string, error)
- func (m *Module) SignRSA(key *rsa.PrivateKey, claim interface{}) (string, error)
- func (m *Module) Verify(compact string, keys ...interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedKey = errors.New("unsupported key")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.