public class ClientRegistrationRequest extends Object implements Serializable
/api/client/registration/ API.
The API is used to implement a client registration endpoint that complies with RFC 7591 (OAuth 2.0 Dynamic Client Registration Protocol).
| Constructor and Description |
|---|
ClientRegistrationRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientId()
Get the client's ID.
|
String |
getJson()
Get client metadata in JSON format that complies with RFC 7591 (OAuth 2.0
Dynamic Client Registration Protocol).
|
String |
getToken()
Get the client registration access token which was passed with this update
request.
|
ClientRegistrationRequest |
setClientId(String clientId)
Set the client's ID.
|
ClientRegistrationRequest |
setJson(String metadata)
Set client metadata in JSON format that complies with RFC 7591 (OAuth 2.0
Dynamic Client Registration Protocol).
|
ClientRegistrationRequest |
setToken(String token)
Set the client registration access token which was passed with this update
request.
|
public String getJson()
public ClientRegistrationRequest setJson(String metadata)
metadata - Client metadata in JSON format.this object.public String getToken()
public ClientRegistrationRequest setToken(String token)
token - Client registration access token.this object.public String getClientId()
public ClientRegistrationRequest setClientId(String clientId)
clientId - Client ID.this object.Copyright © 2019. All rights reserved.