/Knowledge/sources/honojs__hono/llms-full/jwt-authentication-helper-verify-example--9bfd6f23322a.md
JWT Authentication Helper: verify() > Example - hono-docs
JWT Authentication Helper: verify() Example Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt example Su...
JWT Authentication Helper: verify() > Example
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#example
Summary
ts import { verify } from 'hono/jwt' const tokenToVerify = 'token' const secretKey = 'mySecretKey' const decodedPayload = await verify(tokenToVerify, secretKey, 'HS256') console.log(decodedPayload)
Content
import { verify } from 'hono/jwt'
const tokenToVerify = 'token'
const secretKey = 'mySecretKey'
const decodedPayload = await verify(tokenToVerify, secretKey, 'HS256')
console.log(decodedPayload)
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#example",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / JWT Authentication Helper > `verify()` > Example",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 641,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "JWT Authentication Helper: verify() > Example",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}