Skip to Content
API referenceSIWX ServerSrcNextInterfacesStatelessDemoSiwxHandlerOptions

API Reference — @tuwaio/siwx (CAIP-122 Authentication Layer)


StatelessDemoSiwxHandlerOptions

Defined in: packages/siwx-server/src/next.ts:58 

Properties

cookieOptions?

optional cookieOptions?: CookieOptions

Defined in: packages/siwx-server/src/next.ts:73 

Cookie configuration options.


demoLimits?

optional demoLimits?: StatelessDemoLimits

Defined in: packages/siwx-server/src/next.ts:78 

Demo limits (payload size, max requests).


policy?

optional policy?: SiwxVerificationPolicy

Defined in: packages/siwx-server/src/next.ts:68 

Verification policy to enforce.


signingSecret

signingSecret: string

Defined in: packages/siwx-server/src/next.ts:63 

Server-only cryptographic secret for HMAC signing (minimum 32 characters). MUST NEVER be exposed to the browser or client-side bundles.


ttlSeconds?

optional ttlSeconds?: number

Defined in: packages/siwx-server/src/next.ts:88 

Session TTL in seconds for demo profile (defaults to 1800s = 30 minutes).


verifyOptions?

optional verifyOptions?: Omit<ServerVerifyOptions, "policy">

Defined in: packages/siwx-server/src/next.ts:83 

Additional verification options.

Last updated on