new module:api/TokensApiApi(apiClient)
Constructs a new TokensApiApi.
Parameters:
| Name | Type | Description |
|---|---|---|
apiClient |
module:ApiClient | Optional API client implementation to use, default to module:ApiClient#instance if unspecified. |
- Source:
Methods
CreateToken(token, opts, oauth2client, credentials)
Add a new Webhook secret token.
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
token |
String | A secret token that is used to generate a hash signature, which is passed along with notification requests to the callback URL |
||||||
opts |
Object | Optional parameters Properties
|
||||||
oauth2client |
Object | oauth2client for the call |
||||||
credentials |
Object | credentials for the call |
- Source:
DeleteToken(opts, oauth2client, credentials)
Delete a Webhook secret token
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
opts |
Object | Optional parameters Properties
|
||||||
oauth2client |
Object | oauth2client for the call |
||||||
credentials |
Object | credentials for the call |
- Source:
UpdateToken(token, opts, oauth2client, credentials)
Update an existing Webhook secret token
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
token |
String | A secret token that is used to generate a hash signature, which is passed along with notification requests to the callback URL |
||||||
opts |
Object | Optional parameters Properties
|
||||||
oauth2client |
Object | oauth2client for the call |
||||||
credentials |
Object | credentials for the call |
- Source: