com.auth0.jwk.JwkProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwks-rsa Show documentation
Show all versions of jwks-rsa Show documentation
JSON Web Key Set parser library
package com.auth0.jwk;
/**
* Provider of Jwk
*/
@SuppressWarnings("WeakerAccess")
public interface JwkProvider {
/**
* Returns a jwk using the kid value
* @param keyId value of kid found in JWT
* @return a jwk
* @throws SigningKeyNotFoundException if no jwk can be found using the given kid
*/
Jwk get(String keyId) throws JwkException;
}