Interface JwksClient

All Known Implementing Classes:
HttpClientJwksClient, ResourceRetrieverJwksClient
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface JwksClient
Client for loading Json Web Key Set content over http.
Since:
4.5.0
Author:
Jeremy Grelle
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable org.reactivestreams.Publisher<String>
    load(@Nullable String providerName, @NonNull String url)
    Loads remote Json Web Key Set content over http.
  • Method Details

    • load

      @Nullable @SingleResult @Nullable org.reactivestreams.Publisher<String> load(@Nullable @Nullable String providerName, @NonNull @NonNull String url)
      Loads remote Json Web Key Set content over http.
      Parameters:
      providerName - The jwks provider name
      url - The URL for loading the remote JWK Set
      Returns:
      The JWK Set response body content