Skip to content

@oona/vlo / host / AuthConfig

Interface: AuthConfig ​

Defined in: sdk/ts/sdk/src/host/context.ts:75

Every credential a host reads. All optional; an empty config is an open host.

Properties ​

callbackToken? ​

optional callbackToken?: string

Defined in: sdk/ts/sdk/src/host/context.ts:81

Bearer token this host's worker role sends when it calls a task back.


linkSecret? ​

optional linkSecret?: string

Defined in: sdk/ts/sdk/src/host/context.ts:86

HMAC secret for signed action links. Falls back to token, then pushSecret; with none of the three configured, minting and verifying links is refused.


pushSecret? ​

optional pushSecret?: string

Defined in: sdk/ts/sdk/src/host/context.ts:79

HMAC secret this host's worker role verifies inbound pushes with.


token? ​

optional token?: string

Defined in: sdk/ts/sdk/src/host/context.ts:77

Bearer token required on the control-plane routes. Absent ⇒ open host.