callback
Creates, updates, deletes, gets or lists a callback resource.
Overview
| Name | callback |
| Type | Resource |
| Id | google.integrations.callback |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
callback_generate_token | exec | state, code, gcpProjectId, redirectUri, product | Receives the auth code and auth config id to combine that with the client id and secret to retrieve access tokens from the token endpoint. Returns either a success or error message when it's done. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
code | string | |
gcpProjectId | string | |
product | string | |
redirectUri | string | |
state | string |
Lifecycle Methods
- callback_generate_token
Receives the auth code and auth config id to combine that with the client id and secret to retrieve access tokens from the token endpoint. Returns either a success or error message when it's done.
EXEC google.integrations.callback.callback_generate_token
@state='{{ state }}',
@code='{{ code }}',
@gcpProjectId='{{ gcpProjectId }}',
@redirectUri='{{ redirectUri }}',
@product='{{ product }}'
;