Specifies the type of the claimed user ID passed in TSActionEventOptions. This helps Mosaic correctly interpret and correlate the identifier across sessions and action events.
| Member | Value | Description |
|---|---|---|
email | "email" | Email address |
username | "username" | Username |
phoneNumber | "phoneNumber" | Phone number |
accountId | "accountId" | Account ID |
ssn | "ssn" | Social Security Number |
nationalId | "nationalId" | National ID |
passportNumber | "passportNumber" | Passport number |
driversLicenseNumber | "driversLicenseNumber" | Driver's license number |
other | "other" | Other identifier type |
import { triggerAction, TSAction, TSClaimedUserIdType } from 'react-native-ts-accountprotection';
const response = await triggerAction(TSAction.login, {
claimedUserId: "91e25bea0c...", // hashed email
claimedUserIdType: TSClaimedUserIdType.email
});