Documentation ¶
Index ¶
- Variables
- func ApplyMutations(forMutation map[string]interface{}, forBackup map[string]interface{}) (applied jwt.Token, err error)
- func BuildFromMap(m map[string]interface{}) (jwt.Token, error)
- func PrepareForMutations(t jwt.Token) (forMutation map[string]interface{}, forBackup map[string]interface{}, ...)
- func Sign(t jwt.Token, alg jwa.SignatureAlgorithm, key interface{}) (token []byte, err error)
- func SignWithHeader(t jwt.Token, hdr jws.Headers, alg jwa.SignatureAlgorithm, key interface{}) (token []byte, err error)
- func SplitWithoutVerify(compact []byte) (hdr jws.Headers, payload jwt.Token, err error)
- func ToMap(t jwt.Token) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidJWTMutations = apierrors.Invalid.WithReason("InvalidJWTMutations")
Functions ¶
func ApplyMutations ¶
func PrepareForMutations ¶
func SignWithHeader ¶
func SplitWithoutVerify ¶
SplitWithoutVerify deserializes compact into hdr and payload.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.