Package uk.co.spudsoft.jwtvalidatorvertx
Interface JsonWebKeySetHandler
- All Known Subinterfaces:
JsonWebKeySetOpenIdDiscoveryHandler
,JsonWebKeySetStaticHandler
- All Known Implementing Classes:
JWKSOpenIdDiscoveryHandlerImpl
,JWKSStaticSetHandlerImpl
public interface JsonWebKeySetHandler
Perform OpenID Connect discovery as per openid-connect-discovery-1_0.
- Author:
- jtalbut
-
Method Summary
-
Method Details
-
validateIssuer
Confirm that the issuer matches at least one of the configured acceptable issuer regular expressions.- Parameters:
issuer
- the issuer to confirm.- Throws:
IllegalArgumentException
- if the issuer is not in the list of acceptable issuers.
-
findJwk
Find a JWK for the given issuer and kid.- Parameters:
issuer
- the issuer of the JWT (and JWK).kid
- The key ID being sought.- Returns:
- A Future that will be completed with a JWK.
-