TransactionCookieOptions | @auth0/nextjs-auth0 - v4.6.1
Description: Documentation for @auth0/nextjs-auth0

# Interface TransactionCookieOptions

interface TransactionCookieOptions {
path?: string;
prefix?: string;
sameSite?: "lax" | "strict" | "none";
secure?: boolean;
}

- Defined in src/server/transaction-store.ts:16

##### Index

### Properties

path?
prefix?
sameSite?
secure?

## Properties

### `Optional`path

path?: string

The path attribute of the transaction cookie. Will be set to '/' by default.

- Defined in src/server/transaction-store.ts:38

### `Optional`prefix

prefix?: string

The prefix of the cookie used to store the transaction state.

Default: `__txn_{state}`.

- Defined in src/server/transaction-store.ts:22

### `Optional`sameSite

sameSite?: "lax" | "strict" | "none"

The sameSite attribute of the transaction cookie.

Default: `lax`.

- Defined in src/server/transaction-store.ts:28

### `Optional`secure

secure?: boolean

The secure attribute of the transaction cookie.

Default: depends on the protocol of the application's base URL. If the protocol is `https`, then `true`, otherwise `false`.

- Defined in src/server/transaction-store.ts:34