The TokenResponse object can get the information of the access token response returned by the authorization server, including the access token, the refresh token, the HTTP response header etc.
|
TokenResponse property |
Datatype |
Description |
|---|---|---|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
|
TokenResponse function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name assigned to the object. |
|
|
String |
Gets the access token returned by authorization server. |
|
|
Integer |
Gets the response body into string. |
|
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
|
Long |
Gets lifetime of the access token returned by authorization server. |
|
|
String |
Gets the response header by name. |
|
|
String |
Gets the header of all responses by name. |
|
|
String |
Gets the HTTP protocol version used in communication. |
|
|
PowerObject |
Returns a reference to the name of the parent object. |
|
|
String |
Gets the refresh token returned by authorization server. |
|
|
Long |
Gets the response status code. |
|
|
String |
Gets the response status description. |
|
|
String |
Gets the error information returned by the Authorization Server if the request privilege grant failed. |
|
|
String |
Gets the access token type returned by authorization server. |
|
|
Object |
Returns the type of the object. |


