package
2.0.0-20220530142741-3dee01339869
Repository: https://github.com/authok/go-jwt-middleware.git
Documentation: pkg.go.dev

# Functions

NewCachingProvider builds and returns a new CachingProvider.
NewProvider builds and returns a new *Provider.
WithCustomJWKSURI will set a custom JWKS URI on the *Provider and call this directly inside the keyFunc in order to fetch the JWKS, skipping the oidc.GetWellKnownEndpointsFromIssuerURL call.

# Structs

CachingProvider handles getting JWKS from the specified IssuerURL and caching them for CacheTTL time.
Provider handles getting JWKS from the specified IssuerURL and exposes KeyFunc which adheres to the keyFunc signature that the Validator requires.

# Type aliases

ProviderOption is how options for the Provider are set up.