Documentation ¶
Index ¶
- func CombineJwksSets(sets []jwk.Set, context context.Context) jwk.Set
- func DecryptJweMessage(msg *jwe.Message, options ...jwe.DecryptOption) ([]byte, error)
- func DisableCryptoProvider()
- func EnableCryptoProvider(cryptoprovider cryptoCore.CryptoProvider, sign bool, verify bool)
- func EncryptJweMessage(payload []byte, alg jwa.KeyAlgorithm, receipientKeys ...jwk.Key) *jwe.Message
- func Parse(tokenString string, options ...ljwt.ParseOption) (ljwt.Token, error)
- func ParseRequest(r *http.Request, options ...ljwt.ParseOption) (ljwt.Token, error)
- func ParseSelfSigned(tokenString string, options ...ljwt.ParseOption) (ljwt.Token, error)
- func RegisterFetcher(id string, fetcher types.KeyFetcher)
- func UnregisterFetcher(id string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptJweMessage ¶
func DisableCryptoProvider ¶
func DisableCryptoProvider()
func EnableCryptoProvider ¶
func EnableCryptoProvider(cryptoprovider cryptoCore.CryptoProvider, sign bool, verify bool)
func EncryptJweMessage ¶
func ParseRequest ¶
func ParseSelfSigned ¶
func RegisterFetcher ¶
func RegisterFetcher(id string, fetcher types.KeyFetcher)
func UnregisterFetcher ¶
func UnregisterFetcher(id string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.