const OpenIDConfigPath …
const JWKSPath …
type OpenIDMetadataProvider …
type openidConfigProvider …
type openidConfig …
func (p *openidConfigProvider) GetConfigJSON() ([]byte, int) { … }
func (p *openidConfigProvider) GetKeysetJSON() ([]byte, int) { … }
func (p *openidConfigProvider) Enqueue() { … }
func (p *openidConfigProvider) Update() error { … }
func NewOpenIDMetadataProvider(issuerURL, jwksURI, defaultExternalAddress string, pubKeyGetter PublicKeysGetter) (OpenIDMetadataProvider, error) { … }
type openIDMetadata …
func openIDConfigJSON(iss, jwksURI string, keys []PublicKey) ([]byte, error) { … }
func openIDKeysetJSON(keys []PublicKey) ([]byte, error) { … }
func getAlgs(keys *jose.JSONWebKeySet) []string { … }
type publicKeyGetter …
func publicJWKSFromKeys(in []PublicKey) (*jose.JSONWebKeySet, errors.Aggregate) { … }
func jwkFromPublicKey(publicKey PublicKey) (*jose.JSONWebKey, error) { … }
func algorithmFromPublicKey(publicKey crypto.PublicKey) (jose.SignatureAlgorithm, error) { … }