@Singleton public class DefaultJwkSetFetcher extends java.lang.Object implements JwkSetFetcher<com.nimbusds.jose.jwk.JWKSet>
JwkSetFetcher for JWKSet.| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultJwkSetFetcher.Optimizations
AOT Optimizations.
|
| Modifier and Type | Field and Description |
|---|---|
static DefaultJwkSetFetcher.Optimizations |
OPTIMIZATIONS |
| Constructor and Description |
|---|
DefaultJwkSetFetcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache(java.lang.String url) |
java.util.Optional<com.nimbusds.jose.jwk.JWKSet> |
fetch(java.lang.String url) |
public static final DefaultJwkSetFetcher.Optimizations OPTIMIZATIONS
@NonNull
public java.util.Optional<com.nimbusds.jose.jwk.JWKSet> fetch(@Nullable
java.lang.String url)
fetch in interface JwkSetFetcher<com.nimbusds.jose.jwk.JWKSet>url - The Jwks uripublic void clearCache(@NonNull
java.lang.String url)
clearCache in interface JwkSetFetcher<com.nimbusds.jose.jwk.JWKSet>url - The Jwks uri
Clears cache