Skip to Content
API referenceSatellite Siwe Next AuthSrcInterfacesSiweCookieOptions

@tuwaio/satellite-connect-monorepo


SiweCookieOptions

Defined in: packages/satellite-siwe-next-auth/src/types.ts:12 

Interface for the optional cookie serialization options. Matches common fields of CookieSerializeOptions from the ‘cookie’ package.

Properties

domain?

optional domain: string

Defined in: packages/satellite-siwe-next-auth/src/types.ts:16 

The “Domain” Set-Cookie attribute.


expires?

optional expires: Date

Defined in: packages/satellite-siwe-next-auth/src/types.ts:20 

The “Expires” Set-Cookie attribute.


httpOnly?

optional httpOnly: boolean

Defined in: packages/satellite-siwe-next-auth/src/types.ts:22 

The “HttpOnly” Set-Cookie attribute.


maxAge?

optional maxAge: number

Defined in: packages/satellite-siwe-next-auth/src/types.ts:14 

The value of the Max-Age Set-Cookie attribute in seconds.


path?

optional path: string

Defined in: packages/satellite-siwe-next-auth/src/types.ts:18 

The “Path” Set-Cookie attribute.


sameSite?

optional sameSite: boolean | "strict" | "lax" | "none"

Defined in: packages/satellite-siwe-next-auth/src/types.ts:26 

The “SameSite” Set-Cookie attribute.


secure?

optional secure: boolean

Defined in: packages/satellite-siwe-next-auth/src/types.ts:24 

The “Secure” Set-Cookie attribute.

Last updated on