/Knowledge/sources/honojs__hono/llms-full/bearer-auth-middleware-options-invalidauthenticationheader-object--60108e85be9d.md
Bearer Auth Middleware: Options > invalidAuthenticationHeader: object...
Bearer Auth Middleware: Options invalidAuthenticationHeader: object Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/...
Bearer Auth Middleware: Options > invalidAuthenticationHeader: object
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#invalidauthenticationheader-object
Summary
Customizes the error response when the authentication header format is invalid. - wwwAuthenticateHeader: string | object | MessageFunction - Customizes the WWW-Authenticate header value. - message: `string | object | MessageFunctio...
Content
Customizes the error response when the authentication header format is invalid.
wwwAuthenticateHeader:string | object | MessageFunction- Customizes the WWW-Authenticate header value.message:string | object | MessageFunction- The custom message for the response body.
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#invalidauthenticationheader-object",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Bearer Auth Middleware > Options > invalidAuthenticationHeader: `object`",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 259,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Bearer Auth Middleware: Options > invalidAuthenticationHeader: object",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}