Skip to Content
API referenceSIWX ReactSrcComponentsisSessionMatchingConnection()

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


isSessionMatchingConnection()

isSessionMatchingConnection(session, activeConnection): boolean

Defined in: packages/siwx-react/src/satelliteHelpers.ts:79 

Evaluates whether an active SIWX session matches an active Satellite connection.

Parameters

session

SiwxClientSession | null

activeConnection

MinimalSatelliteConnection | null | undefined

Returns

boolean

Last updated on