Package org.opencastproject.security.jwt
Class JWKSetProvider
java.lang.Object
org.opencastproject.security.jwt.JWKSetProvider
JWK provider that fetches and caches jwk sets
-
Constructor Summary
ConstructorsConstructorDescriptionJWKSetProvider(String jwksUrl, long ttl, long refreshTimeout) Creates a new cached provider from a JWKs URL. -
Method Summary
-
Constructor Details
-
JWKSetProvider
Creates a new cached provider from a JWKs URL.- Parameters:
jwksUrl- The URL where JWKs are published.ttl- time-to-live in millisecondsrefreshTimeout- in milliseconds
-
-
Method Details
-
getAll
Getter for all JWKs.- Returns:
- The JWKs.
-