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 'package:flutter_ts_account_protection/flutter_ts_account_protection.dart';
final accountProtection = FlutterTsAccountProtection();
final response = await accountProtection.triggerAction(
TSAction.login.name,
options: TSActionEventOptions(
claimedUserId: '91e25bea0c...', // hashed email
claimedUserIdType: TSClaimedUserIdType.email,
),
);