Documentation
¶
Index ¶
- func DiscoverKeySetURI(ctx context.Context, configURL string) (string, error)
- func FetchKeySet(ctx context.Context, jwksURI string) (*jose.JSONWebKeySet, error)
- func JWTKeysFromProto(proto []*types.JWTKey) (map[string]crypto.PublicKey, error)
- func ProtoFromJWTKeys(keys map[string]crypto.PublicKey) ([]*types.JWTKey, error)
- type CachingKeySetProvider
- type KeySetProvider
- type KeySetProviderFunc
- type OIDCIssuer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverKeySetURI ¶
func FetchKeySet ¶
func JWTKeysFromProto ¶ added in v1.11.2
JWTKeysFromProto converts JWT keys from the given []*types.JWTKey to map[string]crypto.PublicKey. The key ID of the public key is used as the key in the returned map.
Types ¶
type CachingKeySetProvider ¶
type CachingKeySetProvider struct {
// contains filtered or unexported fields
}
func NewCachingKeySetProvider ¶
func NewCachingKeySetProvider(provider KeySetProvider, refreshInterval time.Duration) *CachingKeySetProvider
type KeySetProvider ¶
type KeySetProviderFunc ¶
type OIDCIssuer ¶
type OIDCIssuer string
Click to show internal directories.
Click to hide internal directories.