Versions in this module Expand all Collapse all v1 v1.13.0 Sep 13, 2024 Changes in this version + type JWK struct + Algorithm string + Key interface{} + KeyID string + KeyType string + Use string + func (j *JWK) UnmarshalJSON(data []byte) error + type JWKS struct + func NewJWKS(ctx context.Context, uri string, ttl string, maxStale string, ...) (*JWKS, error) + func (j *JWKS) Data() (*JWKSData, error) + func (j *JWKS) GetKey(kid string, alg string, use string) (*JWK, error) + func (j *JWKS) GetSigKeyForToken(token *jwt.Token) (interface{}, error) + func (j *JWKS) Unmarshal(rawJSON []byte) (interface{}, error) + type JWKSData struct + Keys []*JWK