Package io.jans.as.client
Class UserInfoRequest
java.lang.Object
io.jans.as.client.BaseRequest
io.jans.as.client.UserInfoRequest
Represents a User Info request to send to the authorization server.
- Version:
- April 25, 2022
- Author:
- Javier Rojas Blum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the access token obtained from Jans Auth authorization request.Returns a collection of parameters of the user info request.Returns a query string with the parameters of the User Info request.voidsetAccessToken(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
-
Constructor Details
-
UserInfoRequest
Constructs a User Info Request.- Parameters:
accessToken- The access token obtained from the Jans Auth authorization request.
-
-
Method Details
-
getAccessToken
Returns the access token obtained from Jans Auth authorization request.- Returns:
- The access token obtained from Jans Auth authorization request.
-
setAccessToken
Sets the access token obtained from Jans Auth authorization request.- Parameters:
accessToken- The access token obtained from Jans Auth authorization request.
-
getQueryString
Returns a query string with the parameters of the User Info request. Anynullor empty parameter will be omitted.- Specified by:
getQueryStringin classBaseRequest- Returns:
- A query string of parameters.
-
getParameters
Returns a collection of parameters of the user info request. Anynullor empty parameter will be omitted.- Overrides:
getParametersin classBaseRequest- Returns:
- A collection of parameters.
-