auth_set_claims
Set or merge custom claims on Firebase Auth emulator users; use replace to overwrite claims or merge to update given keys, with null removing a key.
Instructions
Set an Auth emulator user's custom claims: replace them (as the Admin SDK's setCustomUserClaims does) or with mode merge change only the given keys (a null value removes that key).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Account id | |
| mode | No | Default replace | |
| uids | No | Several account ids (instead of uid) | |
| claims | Yes | Custom claims as JSON | |
| tenant | No | Tenant id; omit for a project-level user |