GlideOAuthClient - getToken(String requestID, String oauthProfileID)
Retrieves the access and refresh tokens for the client.
Name | Type | Description |
---|---|---|
requestID | String | Request ID from the OAuth Requestor Profile [oauth_requestor_profile] table, which references the OAuth Entity Profile [oauth_entity_profile] table. |
oauthProfileID | String | OAuth profile ID from the OAuth Entity Profile [oauth_entity_profile] table. |
Type | Description |
---|---|
GlideOAuthToken | The access and refresh tokens for the client. |
Example
This example code shows how to retrieve access and refresh tokens from the instance database.
Output: