Skip to content

basalt / drives/src / DriveNotificationInput

Interface: DriveNotificationInput ​

Defined in: drives/src/provider.ts:298

A raw inbound notification, handed to the adapter for verification.

Properties ​

body ​

> body: Buffer

Defined in: drives/src/provider.ts:311

The raw request body, exactly as received.

A Buffer, not a parsed object: HMAC schemes (Dropbox signs the raw body) break the moment the bytes are re-serialised, and a route that parses first cannot verify afterwards.


headers ​

> headers: Record<string, string | undefined>

Defined in: drives/src/provider.ts:301

Lowercased header names.


method ​

> method: string

Defined in: drives/src/provider.ts:299


query ​

> query: Record<string, string | undefined>

Defined in: drives/src/provider.ts:303

Query parameters of the callback URL.

Released under the MIT License.