Interface JwksCache

All Known Implementing Classes:
JwksSignature

public interface JwksCache
Designates a class which caches a Json Web Key Set which may typically be fetched from a remote authorization server.
Since:
3.2.0
Author:
Sergio del Amo
  • Method Details

    • isPresent

      boolean isPresent()
      Returns:
      Whether the cache has been populated.
    • isExpired

      boolean isExpired()
      Returns:
      Whether the cache is expired or empty optional if JWKS still not cached
    • clear

      void clear()
      Clears the JWK Set cache.
    • getKeyIds

      @NonNull @NonNull Optional<List<String>> getKeyIds()