> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# assertJwtAudience

> **assertJwtAudience**(`jwt`, `expectedAudience`): `void`

Defined in: [packages/server/src/auth/utils/jwt.ts:44](https://github.com/Crossmint/crossmint-sdk/blob/main/packages/server/src/auth/utils/jwt.ts#L44)

## Parameters

| Parameter | Type |
| - | - |
| `jwt` | `string` |
| `expectedAudience` | `string` |

## Returns

`void`

## Deprecated

This does not verify the JWT signature and must not be used to authenticate a token.
Use `verifyCrossmintJwt` instead.
