Skip to main content

Interface: CreateSessionOptions

Defined in: index.ts:31

Options for creating a new session.

Properties​

locale?​

optional locale: Locale

Defined in: index.ts:37

Preferred locale for the session UI.


metadata?​

optional metadata: Record<string, string>

Defined in: index.ts:39

Arbitrary key-value metadata attached to the session.


redirectUrl?​

optional redirectUrl: string

Defined in: index.ts:35

URL to redirect the user after session completes.


referenceId​

referenceId: string

Defined in: index.ts:33

Your internal reference ID for this session.