/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-headername-string-0686c4c8e254-headername-string-s0161-c0000.md
headerName: `string` - hono-docs
headerName: string Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt headername string Summary The...
headerName: string
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#headername-string
Summary
The name of the header to look for the JWT token. The default is Authorization. ts app.use( '/auth/*', jwt({ secret: 'it-is-very-secret', alg: 'HS256', headerName: 'x-custom-auth-header', }) )
Content
The name of the header to look for the JWT token. The default is Authorization.
app.use(
'/auth/*',
jwt({
secret: 'it-is-very-secret',
alg: 'HS256',
headerName: 'x-custom-auth-header',
})
)