Package com.auth0.jwk

Interface JwkProvider

All Known Implementing Classes:
GuavaCachedJwkProvider, RateLimitedJwkProvider, UrlJwkProvider

public interface JwkProvider
Provider of Jwk
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String keyId)
    Attempts to get a JWK using the Key ID value.
  • Method Details

    • get

      Jwk get(String keyId) throws JwkException
      Attempts to get a JWK using the Key ID value. Note that implementations are synchronous (blocking).
      Parameters:
      keyId - value of the kid found in a JWT
      Returns:
      a JWK
      Throws:
      SigningKeyNotFoundException - if no jwk can be found using the given kid
      JwkException