Versions in this module Expand all Collapse all v0 v0.2.0 Apr 8, 2019 Changes in this version type ClientConfig + Headers map[string]string v0.1.0 Apr 2, 2019 Changes in this version + var DefaultClientConfig = ClientConfig + type Client struct + func NewClient(jwksEndpoint string, options ...Option) (*Client, error) + func (client *Client) ForceRefresh() + func (client *Client) KeySet() *JSONWebKeySet + func (client *Client) PreLoad(kid string, key *rsa.PublicKey) + func (client *Client) Start() error + func (client *Client) Stop() + type ClientConfig struct + AppendCACert bool + CACertPath string + CacheTimeout time.Duration + DisableStrictTLS bool + EnableDebug bool + RequestTimeout time.Duration + ServerHostName string + type JSONWebKey struct + Algorithm string + Certificates []*x509.Certificate + Key interface{} + KeyID string + Use string + func (key *JSONWebKey) Thumbprint(hash crypto.Hash) ([]byte, error) + func (key *JSONWebKey) UnmarshalJSON(data []byte) (err error) + func (key *JSONWebKey) Valid() bool + func (key JSONWebKey) MarshalJSON() ([]byte, error) + type JSONWebKeySet struct + Keys []JSONWebKey + func (set *JSONWebKeySet) Key(kid string) []JSONWebKey + type Option = func(*ClientConfig) error