Package io.jans.as.client
Class OpenIdConnectDiscoveryRequest
- java.lang.Object
-
- io.jans.as.client.BaseRequest
-
- io.jans.as.client.OpenIdConnectDiscoveryRequest
-
public class OpenIdConnectDiscoveryRequest extends BaseRequest
- Author:
- Javier Rojas Blum Date: 01.28.2013
-
-
Constructor Summary
Constructors Constructor Description OpenIdConnectDiscoveryRequest(String resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHost()
Returns the Server where a WebFinger service is hosted.String
getPath()
If the Issuer value contains a path component, any terminating / must be removed before appending /.well-known/openid-configuration.String
getQueryString()
Returns a query string with the parameters of the OpenID Connect Discovery request.String
getResource()
Returns the Identifier of the target End-User that is the subject of the discovery request.void
setHost(String host)
Sets the Server where a WebFinger service is hosted.void
setPath(String path)
Sets the path component.void
setResource(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 Detail
-
OpenIdConnectDiscoveryRequest
public OpenIdConnectDiscoveryRequest(String resource) throws URISyntaxException
- Throws:
URISyntaxException
-
-
Method Detail
-
getResource
public String 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
public void setResource(String resource)
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
public String getHost()
Returns the Server where a WebFinger service is hosted.- Returns:
- The Server where a WebFinger service is hosted.
-
setHost
public void setHost(String host)
Sets the Server where a WebFinger service is hosted.- Parameters:
host
- The Server where a WebFinger service is hosted.
-
getPath
public String 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
public void setPath(String path)
Sets the path component.- Parameters:
path
- The path component.
-
getQueryString
public String getQueryString()
Returns a query string with the parameters of the OpenID Connect Discovery request. Anynull
or empty parameter will be omitted.- Specified by:
getQueryString
in classBaseRequest
- Returns:
- A query string of parameters.
-
-