Documentation
¶
Overview ¶
Package keyset contains entities to control JSON Web Key Sets (JWKS)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeySet ¶
KeySet retrieves public keys from OAuth server
func New ¶
func New(publicKeyURL string, httpClient *networking.HTTPClient) KeySet
New creates a new Public Key Util
type RemoteKeySet ¶
type RemoteKeySet struct {
// contains filtered or unexported fields
}
RemoteKeySet manages the retrieval and storage of OIDC public keys
func (*RemoteKeySet) PublicKey ¶
func (s *RemoteKeySet) PublicKey(kid string) crypto.PublicKey
PublicKey returns the public key with the specified kid
func (*RemoteKeySet) PublicKeyURL ¶
func (s *RemoteKeySet) PublicKeyURL() string
PublicKeyURL returns the public key url for the instance
Click to show internal directories.
Click to hide internal directories.