> ## 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.

# getAuthCookieNames

> **getAuthCookieNames**(`projectId`): `object`

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

Names of the cookies the session is stored under for a project: `crossmint-jwt-<projectId>` and
`crossmint-refresh-token-<projectId>`, the same names the client SDK uses. Use them where there is no
request object to pass to `getSession`, such as a Next.js Server Component reading `cookies()`.
The project ID is `validateAPIKey(apiKey).projectId`.

## Parameters

| Parameter | Type |
| - | - |
| `projectId` | `string` |

## Returns

`object`

### jwt

> **jwt**: `string`

### refreshToken

> **refreshToken**: `string`
