The GlideOAuthClientResponse API provides methods for handling OAuth
client responses.
You can use this API in global and scoped scripts. In scoped scripts use the sn_auth namespace identifier.
GlideOAuthClientResponse - getBody()
Retrieves all of the response information, including instance information.
Tabelle : 1. Parameters
| Name |
Type |
Description |
| none |
|
|
Tabelle : 2. Returns
| Type |
Description |
| String |
The response information. |
GlideOAuthClientResponse - getContentType()
Retrieves the HTTP response content header from an external OAuth provider.
Tabelle : 3. Parameters
| Name |
Type |
Description |
| none |
|
|
Tabelle : 4. Returns
| Type |
Description |
| String |
The HTTP response header. |