Package org.forgerock.openidconnect
Class OpenIDConnectProviderConfiguration
- java.lang.Object
-
- org.forgerock.openidconnect.OpenIDConnectProviderConfiguration
-
@Singleton public class OpenIDConnectProviderConfiguration extends Object
Service for getting the configuration of the OpenId Connect provider.- Since:
- 12.0.0
-
-
Constructor Summary
Constructors Constructor Description OpenIDConnectProviderConfiguration(OAuth2ProviderSettingsFactory providerSettingsFactory, OAuth2UrisFactory urisFactory)Constructs a new OpenIDConnectProviderConfiguration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.json.JsonValuegetConfiguration(OAuth2Request request)Gets the OpenId configuration for the OpenId Connect provider.
-
-
-
Constructor Detail
-
OpenIDConnectProviderConfiguration
@Inject public OpenIDConnectProviderConfiguration(OAuth2ProviderSettingsFactory providerSettingsFactory, OAuth2UrisFactory urisFactory)
Constructs a new OpenIDConnectProviderConfiguration.- Parameters:
providerSettingsFactory- An instance of the OAuth2ProviderSettingsFactory.urisFactory- An instance of OAuth2UrisFactory.
-
-
Method Detail
-
getConfiguration
public org.forgerock.json.JsonValue getConfiguration(OAuth2Request request) throws OAuth2Exception
Gets the OpenId configuration for the OpenId Connect provider.- Parameters:
request- The OAuth2 request.- Returns:
- A JsonValue representation of the OpenId configuration.
- Throws:
UnsupportedResponseTypeException- If the requested response type is not supported by either the client or the OAuth2 provider.ServerException- If any internal server error occurs.OAuth2Exception
-
-