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(java.lang.String resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHost()
Returns the Server where a WebFinger service is hosted.java.lang.String
getPath()
If the Issuer value contains a path component, any terminating / must be removed before appending /.well-known/openid-configuration.java.lang.String
getQueryString()
Returns a query string with the parameters of the OpenID Connect Discovery request.java.lang.String
getResource()
Returns the Identifier of the target End-User that is the subject of the discovery request.void
setHost(java.lang.String host)
Sets the Server where a WebFinger service is hosted.void
setPath(java.lang.String path)
Sets the path component.void
setResource(java.lang.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
-
-
-
-
Method Detail
-
getResource
public java.lang.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(java.lang.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 java.lang.String getHost()
Returns the Server where a WebFinger service is hosted.- Returns:
- The Server where a WebFinger service is hosted.
-
setHost
public void setHost(java.lang.String host)
Sets the Server where a WebFinger service is hosted.- Parameters:
host
- The Server where a WebFinger service is hosted.
-
getPath
public java.lang.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(java.lang.String path)
Sets the path component.- Parameters:
path
- The path component.
-
getQueryString
public java.lang.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.
-
-