de.cidaas.jwk.JwkProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cidaas-interceptor-spring-security Show documentation
Show all versions of cidaas-interceptor-spring-security Show documentation
Interceptor for Cidaas Java Spring Clients
package de.cidaas.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;
}