/Knowledge/sources/honojs__hono/llms-full/bearer-auth-middleware-options-noauthenticationheader-object--210d14def976.md
Bearer Auth Middleware: Options > noAuthenticationHeader: object - ho...
Bearer Auth Middleware: Options noAuthenticationHeader: object Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms...
Bearer Auth Middleware: Options > noAuthenticationHeader: object
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#noauthenticationheader-object
Summary
Customizes the error response when the request does not have an authentication header. - wwwAuthenticateHeader: string | object | MessageFunction - Customizes the WWW-Authenticate header value. - message: `string | object | Message...
Content
Customizes the error response when the request does not have an authentication header.
wwwAuthenticateHeader:string | object | MessageFunction- Customizes the WWW-Authenticate header value.message:string | object | MessageFunction- The custom message for the response body.
MessageFunction is (c: Context) => string | object | Promise<string | object>.
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#noauthenticationheader-object",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Bearer Auth Middleware > Options > noAuthenticationHeader: `object`",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 258,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Bearer Auth Middleware: Options > noAuthenticationHeader: object",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}