Package org.forgerock.openidconnect
Class OpenIDConnectProviderDiscovery
- java.lang.Object
-
- org.forgerock.openidconnect.OpenIDConnectProviderDiscovery
-
public class OpenIDConnectProviderDiscovery extends Object
Service for discovering the OpenId Connect provider.- Since:
- 12.0.0
-
-
Constructor Summary
Constructors Constructor Description OpenIDConnectProviderDiscovery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>discover(String resource, String rel, String deploymentUrl, OAuth2Request request)Returns the response to a request to discover the OpenId Connect provider.
-
-
-
Method Detail
-
discover
public Map<String,Object> discover(String resource, String rel, String deploymentUrl, OAuth2Request request) throws BadRequestException
Returns the response to a request to discover the OpenId Connect provider.The account that the resource names is not looked up. The request is anonymous and the issuer is the same for every account, so an answer that differed for an account that does not exist would only tell the caller which accounts exist.
- Parameters:
resource- The resource.rel- The rel.deploymentUrl- The deployment url of the OpenId Connect provider.request- The OAuth2 request. Not used; kept so that the signature does not change.- Returns:
- A
Mapof the OpenId Connect provider urls. - Throws:
BadRequestException- If the request is malformed.
-
-