public class AuthorizationRequest extends Object implements Serializable
/auth/authorization API.
parameters(REQUIRED)OAuth 2.0 authorization request parameters which are the request parameters that the OAuth 2.0 authorization endpoint of the service implementation received from the client application.
The value of
"parameters"is (1) the entire query string when the HTTP method of the request from the client application is"GET"or (2) the entire entity body (which is formatted inapplication/x-www-form-urlencoded) when the HTTP method of the request from the client application is"POST".
| Constructor and Description |
|---|
AuthorizationRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getParameters()
Get the value of
parameters which are the request
parameters that the OAuth 2.0 authorization endpoint of the
service implementation received from the client application. |
AuthorizationRequest |
setParameters(Map<String,String[]> parameters)
Set the value of
parameters which are the request
parameters that the OAuth 2.0 authorization endpoint of the
service implementation received from the client application. |
AuthorizationRequest |
setParameters(String parameters)
Set the value of
parameters which are the request
parameters that the OAuth 2.0 authorization endpoint of the
service implementation received from the client application. |
public String getParameters()
parameters which are the request
parameters that the OAuth 2.0 authorization endpoint of the
service implementation received from the client application.x-www-form-urlencoded
format.public AuthorizationRequest setParameters(String parameters)
parameters which are the request
parameters that the OAuth 2.0 authorization endpoint of the
service implementation received from the client application.parameters - Request parameters in x-www-form-urlencoded
format.this object.public AuthorizationRequest setParameters(Map<String,String[]> parameters)
parameters which are the request
parameters that the OAuth 2.0 authorization endpoint of the
service implementation received from the client application.
This method converts the given map into a string in x-www-form-urlencoded format and passes it to setParameters(String) method.
parameters - Request parameters.this object.Copyright © 2019. All rights reserved.