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?
optionalcallbackToken?: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?
optionallinkSecret?: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?
optionalpushSecret?:string
Defined in: sdk/ts/sdk/src/host/context.ts:79
HMAC secret this host's worker role verifies inbound pushes with.
token?
optionaltoken?:string
Defined in: sdk/ts/sdk/src/host/context.ts:77
Bearer token required on the control-plane routes. Absent ⇒ open host.