Authorization Service
Generates temporary auth tokens for use in untrusted environments. Tokens expire after one hour.
Name | Type | Attribute | Description |
---|---|---|---|
options |
UserOptions |
Disables retries.
Enable retries for unfulfilled requests.
Name | Type | Attribute | Description |
---|---|---|---|
retryOptions |
RetryOptions | Optional |
configuration for retries |
Get the instance of the authenticator set on the service.
Get the Axios instance set on the service. All requests will be made using this instance.
If using an RC service, get an IAM access token. If using a CF service, get a percent-encoded authorization token based on resource query string param
Name | Type | Attribute | Description |
---|---|---|---|
params |
GetTokenParams | GetTokenCallback | ||
callback |
GetTokenCallback | Optional |
called with a %-encoded token if CF |
Turn request body compression on or off.
Name | Type | Attribute | Description |
---|---|---|---|
setting |
boolean |
Will turn it on if 'true', off if 'false'. |
Set the service URL to send requests to.
Name | Type | Attribute | Description |
---|---|---|---|
url |
string |
The base URL for the service. |
Generated using TypeDoc
interfaces