ServerVerifyOptions
Defined in: siwx-server/src/types.ts:11
Options of verifySiwxPayload.
Properties
policy?
optionalpolicy?:SiwxVerificationPolicy
Defined in: siwx-server/src/types.ts:29
Verification policy enforced on the message fields (domain, URI, chains, timing). See SiwxVerificationPolicy.
publicClient?
optionalpublicClient?:EvmPublicClientSource
Defined in: siwx-server/src/types.ts:37
Enables the smart contract wallet fallback for eip155 messages (deployed wallets through EIP-1271, wallets not
deployed yet through ERC-6492): a viem client, used only for messages of its own chain, or a function that
returns the client of a chain number, for sign-ins on several chains. See EvmPublicClientSource from
@tuwaio/siwx-evm. Ignored for Solana.
skipExpiration?
optionalskipExpiration?:boolean
Defined in: siwx-server/src/types.ts:23
Skips the check that the message expirationTime has not passed. Not recommended in production.
Default
falseusedNonces?
optionalusedNonces?:Set<string>
Defined in: siwx-server/src/types.ts:17
Nonces that must be rejected. Verification fails when the message nonce is in the set. The set is only read:
record used nonces yourself, or use a SiwxNonceStore (as createSiwxApiHandler does) for
multi-instance deployments.