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
    • Method Detail

      • 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
        java.util.Optional<java.util.List<java.lang.String>> getKeyIds()