nooschain / auth/api-auth / ApiAuthHeaders
Interface: ApiAuthHeaders
Defined in: auth/api-auth.ts:20
Headers consumed by the normal API actor-auth guard.
Bearer auth is the production path. The public-key headers are a development shortcut for local tests and are ignored in production mode.
Properties
authorization?
optionalauthorization?:string|string[]
Defined in: auth/api-auth.ts:22
Optional Authorization: Bearer <token> session header.
x-noos-public-key?
optionalx-noos-public-key?:string|string[]
Defined in: auth/api-auth.ts:24
Development-only raw public-key shortcut.
x-noos-public-key-base64?
optionalx-noos-public-key-base64?:string|string[]
Defined in: auth/api-auth.ts:26
Development-only base64 public-key shortcut for clients that need ASCII-safe headers.