Options for the StateBacked client.
Optional Blob?: BlobCtorType
Blob implementation to use.
Defaults to globalThis.Blob.
FormData implementation to use.
Defaults to globalThis.FormData.
WebSocket implementation to use.
Defaults to globalThis.WebSocket.
The claims representing the user we are acting as.
This will cause all requests to fail if used with a non-admin token that does not have sufficient permission to create keys.
The API host to use. Defaults to
Optional base64url?: ((data) => string)
Base64url implementation to use.
Optional fetch?: Fetch
Fetch implementation to use.
Defaults to globalThis.fetch.
HMAC SHA256 implementation to use.
Should return the HMAC SHA256 of the data using the key.
The organization ID to use. Only required if you are using an admin session (e.g. the smply CLI) AND you belong to more than one organization.
If you are using a JWT signed with a key generated with
smply keys create
(the standard case), you do not need to set this.
Number of milliseconds between keep alive pings on any open WebSocket connections.
Defaults to 5 minutes.
Generated using TypeDoc