Package io.jans.as.client
Class OpenIdConnectDiscoveryRequest
java.lang.Object
io.jans.as.client.BaseRequest
io.jans.as.client.OpenIdConnectDiscoveryRequest
- Author:
- Javier Rojas Blum Date: 01.28.2013
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()Returns the Server where a WebFinger service is hosted.getPath()If the Issuer value contains a path component, any terminating / must be removed before appending /.well-known/openid-configuration.Returns a query string with the parameters of the OpenID Connect Discovery request.Returns the Identifier of the target End-User that is the subject of the discovery request.voidSets the Server where a WebFinger service is hosted.voidSets the path component.voidsetResource(String resource) Sets the Identifier of the target End-User that is the subject of the discovery request.Methods inherited from class io.jans.as.client.BaseRequest
addCustomParameter, getAuthenticationMethod, getAuthorizationMethod, getAuthPassword, getAuthUsername, getContentType, getCredentials, getCustomParameters, getEncodedCredentials, getEncodedCredentials, getJSONParameters, getMediaType, getParameters, hasCredentials, setAuthenticationMethod, setAuthorizationMethod, setAuthPassword, setAuthUsername, setContentType, setMediaType
-
Constructor Details
-
OpenIdConnectDiscoveryRequest
- Throws:
URISyntaxException
-
-
Method Details
-
getResource
Returns the Identifier of the target End-User that is the subject of the discovery request.- Returns:
- The Identifier of the target End-User that is the subject of the discovery request.
-
setResource
Sets the Identifier of the target End-User that is the subject of the discovery request.- Parameters:
resource- The Identifier of the target End-User that is the subject of the discovery request.
-
getHost
Returns the Server where a WebFinger service is hosted.- Returns:
- The Server where a WebFinger service is hosted.
-
setHost
Sets the Server where a WebFinger service is hosted.- Parameters:
host- The Server where a WebFinger service is hosted.
-
getPath
If the Issuer value contains a path component, any terminating / must be removed before appending /.well-known/openid-configuration. Then the Client may make a new request using the path.- Returns:
- The path component.
-
setPath
Sets the path component.- Parameters:
path- The path component.
-
getQueryString
Returns a query string with the parameters of the OpenID Connect Discovery request. Anynullor empty parameter will be omitted.- Specified by:
getQueryStringin classBaseRequest- Returns:
- A query string of parameters.
-