Documentation ¶
Overview ¶
Package uncached provides uncached versions of go-keypairs/keyfetch
Index ¶
- Variables
- func Fetch(url string) (map[string]string, keypairs.PublicKeyDeprecated, error)
- func JWKs(jwksurl string) (JWKMapByID, PublicKeysMap, error)
- func OIDCJWKs(baseURL string) (JWKMapByID, PublicKeysMap, error)
- func PEM(pemurl string) (map[string]string, keypairs.PublicKey, error)
- func WellKnownJWKs(baseURL string) (JWKMapByID, PublicKeysMap, error)
- type JWKMapByID
- type PublicKeysMap
Constants ¶
This section is empty.
Variables ¶
View Source
var URLishKey = "_kid_url"
URLishKey is TODO
Functions ¶
func JWKs ¶
func JWKs(jwksurl string) (JWKMapByID, PublicKeysMap, error)
JWKs fetches and parses a jwks.json (assuming well-known format)
func OIDCJWKs ¶
func OIDCJWKs(baseURL string) (JWKMapByID, PublicKeysMap, error)
OIDCJWKs gets the OpenID Connect configuration from the baseURL and then calls JWKs with the specified jwks_uri
func WellKnownJWKs ¶
func WellKnownJWKs(baseURL string) (JWKMapByID, PublicKeysMap, error)
WellKnownJWKs calls JWKs with baseURL + /.well-known/jwks.json as constructs the jwks_uri
Types ¶
type PublicKeysMap ¶
type PublicKeysMap = map[string]keypairs.PublicKeyDeprecated
PublicKeysMap is TODO
Click to show internal directories.
Click to hide internal directories.