Optional
Blob?: BlobCtorTypeBlob implementation to use.
Defaults to globalThis.Blob.
Optional
FormFormData implementation to use.
Defaults to globalThis.FormData.
Optional
WebWebSocket implementation to use.
Defaults to globalThis.WebSocket.
Optional
actThe 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.
Optional
apiThe API host to use. Defaults to https://api.statebacked.dev
.
Optional
base64url?: ((data) => string)Base64url implementation to use.
Optional
fetch?: FetchFetch implementation to use.
Defaults to globalThis.fetch.
Optional
hmacHMAC SHA256 implementation to use.
Should return the HMAC SHA256 of the data using the key.
Optional
orgThe 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.
Optional
wsNumber of milliseconds between keep alive pings on any open WebSocket connections.
Defaults to 5 minutes.
Generated using TypeDoc
Options for the StateBacked client.