Package uk.co.spudsoft.jwtvalidatorvertx
Interface OpenIdDiscoveryHandler
- All Known Subinterfaces:
JsonWebKeySetOpenIdDiscoveryHandler
- All Known Implementing Classes:
JWKSOpenIdDiscoveryHandlerImpl
public interface OpenIdDiscoveryHandler
Interface for obtaining the OpenID Discovery Data for an issuer.
- Author:
- jtalbut
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.Future
<DiscoveryData> performOpenIdDiscovery
(String issuer) Obtain the discovery data for an issuer as per openid-connect-discovery-1_0.
-
Method Details
-
performOpenIdDiscovery
Obtain the discovery data for an issuer as per openid-connect-discovery-1_0. If discovery data has not already been cached this will result in a call toissuer + (issuer.endsWith("/") ? "" : "/") + ".well-known/openid-configuration"
The resulting Discovery Data will be cached against the issuer.- Parameters:
issuer
- The issuer to obtain the discovery data for.- Returns:
- A Future that will be completed with the Discovery Data.
-