Skip to content

nooschain v0.1.0


nooschain / auth/auth-types / ApiAuthResult

Interface: ApiAuthResult

Defined in: auth/auth-types.ts:51

Normalized authentication result used by protected HTTP route handlers.

actor is the resolved chain actor, while authMode records how the caller was identified. Development public-key headers are intentionally distinct from bearer sessions so production code can reject the shortcut.

Properties

actor

actor: ResolvedActor

Defined in: auth/auth-types.ts:53

Chain actor resolved from the authenticated public key, or anonymous.


authMode

authMode: "anonymous" | "bearer" | "dev_public_key"

Defined in: auth/auth-types.ts:55

Route-level authentication mechanism used for this request.

Audience-first NOOSChain documentation.