Skip to content

verifyWithJwks

reference
1 min readUpdated

Kind: Function

Source: src/utils/jwt/jwt.ts

Part of: Utils

Signature

ts
async function verifyWithJwks(token: string, options: { keys?: HonoJsonWebKey[] jwks_uri?: string verification?: VerifyOptions allowedAlgorithms: readonly AsymmetricAlgorithm[] }, init: RequestInit): Promise<JWTPayload>

Parameters

NameType
tokenstring
options{ keys?: HonoJsonWebKey[] jwks_uri?: string verification?: VerifyOptions allowedAlgorithms: readonly AsymmetricAlgorithm[] }
initRequestInit

Returns: Promise<JWTPayload>

Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (1)

  • Jwtsrc/utils/jwt/index.ts:7

Was this page helpful?

Download as PDF
verifyWithJwks — Hono (narrator proof)