Interface: Hooks
Methods
markIntegrationAsUnauthenticated
▸ markIntegrationAsUnauthenticated(): void
This hook marks the integration as unauthenticated. Use it to force a re-authentication with OAuth.
Returns
void
Defined in
src/bindings/hooks.ts:15
terminateRequest
▸ terminateRequest(response
): never
This method terminates the current request and stops the further execution flow.
Parameters
Name | Type | Description |
---|---|---|
response | Object | The response to send to the client. |
response.body? | string | - |
response.headers? | Record <string , string > | - |
response.statusCode? | number | - |
Returns
never
Defined in
src/bindings/hooks.ts:9