Authorization Service
Generates temporary auth tokens for use in untrusted environments. Tokens expire after one hour.
| Name | Type | Attribute | Description |
|---|---|---|---|
options |
UserOptions |
Get the instance of the authenticator set on the service.
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