# verify

**Kind:** Function

**Source:** [`src/utils/jwt/jwt.ts`](https://github.com/honojs/hono/blob/main/src/utils/jwt/jwt.ts#L96)

**Part of:** [Utils](subsystem-src-utils)

## Signature

```ts
async function verify(token: string, publicKey: SignatureKey, algOrOptions: SignatureAlgorithm | VerifyOptionsWithAlg): Promise<JWTPayload>
```

## Parameters

| Name | Type |
|---|---|
| `token` | `string` |
| `publicKey` | `SignatureKey` |
| `algOrOptions` | `SignatureAlgorithm | VerifyOptionsWithAlg` |

**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)

- `Jwt` — `src/utils/jwt/index.ts`:7
