public static class DefaultJwkSetFetcher.Optimizations
extends java.lang.Object
Constructor and Description |
---|
Optimizations(java.util.Map<java.lang.String,java.util.function.Supplier<com.nimbusds.jose.jwk.JWKSet>> suppliers) |
Modifier and Type | Method and Description |
---|---|
void |
clear(java.lang.String url) |
java.util.Optional<java.util.function.Supplier<com.nimbusds.jose.jwk.JWKSet>> |
findJwkSet(java.lang.String url) |
public Optimizations(@NonNull java.util.Map<java.lang.String,java.util.function.Supplier<com.nimbusds.jose.jwk.JWKSet>> suppliers)
suppliers
- Map with key being the Jwks uri and value the Json Web Key Set.public java.util.Optional<java.util.function.Supplier<com.nimbusds.jose.jwk.JWKSet>> findJwkSet(@NonNull java.lang.String url)
url
- Json Web Key Set Urlpublic void clear(@NonNull java.lang.String url)
url
- Json Web Key Set Url