Versions in this module Expand all Collapse all v2 v2.0.0 Mar 6, 2024 Changes in this version + func Decode(r io.Reader) ([]jose.JSONWebKey, error) + func DecodeSigPublicKey(data []byte, kid string, algo jose.SignatureAlgorithm) ([]jose.JSONWebKey, error) + type ALBFetcher struct + Algo jose.SignatureAlgorithm + Client *http.Client + Region string + func (f *ALBFetcher) FetchJWKs(kid string) (*Response, error) + type Cacher struct + func NewCacher(defaultExpiration, cleanupInterval time.Duration, f Fetcher) *Cacher + func (c *Cacher) FetchJWKs(cacheKey string) (*Response, error) + type Fetcher interface + FetchJWKs func(path string) (*Response, error) + type HTTPFetcher struct + Client *http.Client + func (f *HTTPFetcher) FetchJWKs(uri string) (*Response, error) + type InMemoryFetcher struct + RAWJWKs []byte + func (f *InMemoryFetcher) FetchJWKs(_ string) (*Response, error) + type Response struct + Keys []jose.JSONWebKey + TTL time.Duration + type S3Fetcher struct + S3Svc s3iface.S3API + func (f *S3Fetcher) FetchJWKs(path string) (*Response, error) Other modules containing this package github.com/nabeken/go-jwkset