/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-verify-040ef4cbd688-verify-s0640-c0000.md
`verify()` - hono-docs
verify() Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt verify Summary This function checks if a...
verify()
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#verify
Summary
This function checks if a JWT token is genuine and still valid. It ensures the token hasn't been altered and checks validity only if you added Payload Validation. ```ts verify( token: string, secret: string, alg: '...
Content
This function checks if a JWT token is genuine and still valid. It ensures the token hasn't been altered and checks validity only if you added Payload Validation.
verify(
token: string,
secret: string,
alg: 'HS256';
issuer?: string | RegExp;
aud?: string | string[] | RegExp;
): Promise<any>;