"credential_type" Hono context variable name for the credential type.
Hono context variable augmentation for fuz_app.
Cross-cutting shared vocabulary — defines the Hono ContextVariableMap
variables used by auth, http, server, and testing modules.
Import this module once in your app to get type-safe access to
auth_session_id, request_context, and credential_type on the Hono context.
In practice, this is auto-loaded by app_server.ts (side-effect import)
and transitively by auth middleware modules that import CREDENTIAL_TYPE_KEY.
Consumers don't need a manual import unless bypassing the standard server assembly.
3 declarations
"credential_type" Hono context variable name for the credential type.
readonly ["session", "api_token", "daemon_token"] The credential types that can authenticate a request.
ZodEnum<{ session: "session"; api_token: "api_token"; daemon_token: "daemon_token"; }> Credential type — how a request was authenticated.