public class PushedAuthReqRequest extends Object implements Serializable
/api/pushed_auth_req API.
The authorization server can implement a pushed authorization request endpoint which is defined in "OAuth 2.0 Pushed Authorization Requests" by using the Authlete API.
Request parameters to the API are as follows.
parameters(REQUIRED)Request parameters that the pushed authorization request endpoint of the authorization server implementation received from the client application. Its format is
application/x-www-form-urlencoded.clientId(OPTIONAL)The client ID extracted from the
Authorizationheader of the request to the pushed authorization request endpoint.If the pushed authorization request endpoint of the authorization server implementation supports Basic Authentication as a means of client authentication, and the request from the client application contained its client ID in the
Authorizationheader, the value should be extracted and set to this parameter.clientSecret(OPTIONAL)The client secret extracted from the
Authorizationheader of the request to the pushed authorization request endpoint.If the pushed authorization request endpoint of the authorization server implementation supports Basic Authentication as a means of client authentication, and the request from the client application contained its client secret in the
Authorizationheader, the value should be extracted and set to this parameter.clientCertificate(OPTIONAL)The client certificate used in the TLS connection between the client application and the pushed authorization request endpoint of the authorization server.
clientCertificatePath(OPTIONAL)The client certificate path presented by the client during client authentication. Each element is a string in PEM format.
| Constructor and Description |
|---|
PushedAuthReqRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientCertificate()
Get the client certificate used in the TLS connection between the client
application and the pushed authorization request endpoint.
|
String[] |
getClientCertificatePath()
Get the client certificate path presented by the client during client
authentication.
|
String |
getClientId()
Get the client ID extracted from the
Authorization header of the
request to the pushed authorization request endpoint. |
String |
getClientSecret()
Get the client secret extracted from the
Authorization header of
the request to the pushed authorization request endpoint. |
String |
getParameters()
Get the request parameters that the pushed authorization request
endpoint received from the client application.
|
PushedAuthReqRequest |
setClientCertificate(String certificate)
Set the client certificate used in the TLS connection between the client
application and the pushed authorization request endpoint.
|
PushedAuthReqRequest |
setClientCertificatePath(String[] path)
Set the client certificate path presented by the client during client
authentication.
|
PushedAuthReqRequest |
setClientId(String clientId)
Set the client ID extracted from the
Authorization header of the
request to the pushed authorization request endpoint. |
PushedAuthReqRequest |
setClientSecret(String clientSecret)
Set the client secret extracted from the
Authorization header of
the request to the pushed authorization request endpoint. |
PushedAuthReqRequest |
setParameters(String parameters)
Set the request parameters that the pushed authorization request
endpoint received from the client application.
|
public String getParameters()
application/x-www-form-urlencoded
format.public PushedAuthReqRequest setParameters(String parameters)
parameters - Request parameters in application/x-www-form-urlencoded
format.this object.public String getClientId()
Authorization header of the
request to the pushed authorization request endpoint.public PushedAuthReqRequest setClientId(String clientId)
Authorization header of the
request to the pushed authorization request endpoint.clientId - The client ID.this object.public String getClientSecret()
Authorization header of
the request to the pushed authorization request endpoint.public PushedAuthReqRequest setClientSecret(String clientSecret)
Authorization header of
the request to the pushed authorization request endpoint.clientSecret - The client secret.this object.public String getClientCertificate()
public PushedAuthReqRequest setClientCertificate(String certificate)
certificate - The client certificate.this object.public String[] getClientCertificatePath()
public PushedAuthReqRequest setClientCertificatePath(String[] path)
path - The client certificate path.this object.Copyright © 2019. All rights reserved.