Skip to content

TSActionEventOptions

Options for reporting an action event via triggerAction(). Passed as a plain JavaScript object.

Properties

correlationId

• Optional correlationId: string

Any ID that could help relate the action with external context or session


claimedUserId

• Optional claimedUserId: string

User ID of the not yet authenticated user, used to enhance risk and trust assessments. Should not contain any sensitive data in plain text. Once the user is authenticated, setAuthenticatedUser() should be called.


claimedUserIdType

• Optional claimedUserIdType: TSClaimedUserIdType

The type of the claimed user ID (for example, email, username, or phone number). Helps Mosaic correctly interpret and correlate the identifier across sessions.


transactionData

• Optional transactionData: TSTransactionData

Transaction data-points object for transaction monitoring