Package io.jans.as.client
Class ClientInfoRequest
- java.lang.Object
-
- io.jans.as.client.BaseRequest
-
- io.jans.as.client.ClientInfoRequest
-
public class ClientInfoRequest extends BaseRequest
Represents a Client Info request to send to the authorization server.- Author:
- Javier Rojas Blum Date: 07.19.2012
-
-
Constructor Summary
Constructors Constructor Description ClientInfoRequest(java.lang.String accessToken)
Constructs a Client Info Request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccessToken()
Returns the access token obtained from Jans Auth authorization request.java.util.Map<java.lang.String,java.lang.String>
getParameters()
Returns a collection of parameters of the client info request.java.lang.String
getQueryString()
Returns a query string with the parameters of the Client Info request.void
setAccessToken(java.lang.String accessToken)
Sets the access token obtained from Jans Auth authorization request.-
Methods inherited from class io.jans.as.client.BaseRequest
addCustomParameter, getAuthenticationMethod, getAuthorizationMethod, getAuthPassword, getAuthUsername, getContentType, getCredentials, getCustomParameters, getEncodedCredentials, getEncodedCredentials, getJSONParameters, getMediaType, hasCredentials, setAuthenticationMethod, setAuthorizationMethod, setAuthPassword, setAuthUsername, setContentType, setMediaType
-
-
-
-
Method Detail
-
getAccessToken
public java.lang.String getAccessToken()
Returns the access token obtained from Jans Auth authorization request.- Returns:
- The access token obtained from Jans Auth authorization request.
-
setAccessToken
public void setAccessToken(java.lang.String accessToken)
Sets the access token obtained from Jans Auth authorization request.- Parameters:
accessToken
- The access token obtained from Jans Auth authorization request.
-
getQueryString
public java.lang.String getQueryString()
Returns a query string with the parameters of the Client Info request. Anynull
or empty parameter will be omitted.- Specified by:
getQueryString
in classBaseRequest
- Returns:
- A query string of parameters.
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
Returns a collection of parameters of the client info request. Anynull
or empty parameter will be omitted.- Overrides:
getParameters
in classBaseRequest
- Returns:
- A collection of parameters.
-
-