From 8da6f90fed5933b585d26b1827fb10ddc3154baa Mon Sep 17 00:00:00 2001 From: Mark Sailes <45629314+msailes@users.noreply.github.com> Date: Fri, 28 Jul 2023 02:40:24 +0100 Subject: [PATCH] Updating the javadocs to include the default caching behaviour. (#179) Co-authored-by: Jim Anderson --- src/main/java/com/auth0/jwk/JwkProviderBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/auth0/jwk/JwkProviderBuilder.java b/src/main/java/com/auth0/jwk/JwkProviderBuilder.java index e2681a4..c353620 100644 --- a/src/main/java/com/auth0/jwk/JwkProviderBuilder.java +++ b/src/main/java/com/auth0/jwk/JwkProviderBuilder.java @@ -68,7 +68,7 @@ private static URL buildJwkUrl(String domain) { } /** - * Toggle the cache of Jwk. By default the provider will use cache. + * Toggle the cache of Jwk. By default, the provider will use a cache size of 5 and a duration of 10 hours. * * @param cached if the provider should cache jwks * @return the builder