Skip to content

Commit 62afd0f

Browse files
chore: adding new API to README
1 parent 01d1317 commit 62afd0f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,27 @@ ___
10921092
10931093
___
10941094
1095+
### `Intercom.setUserJwt(JWT)`
1096+
1097+
Sets a JWT token for the user, necessary for using the Messenger when Messenger Security is enforced. This is an
1098+
improvement to Identity Verification.
1099+
1100+
Secure your Messenger to make sure that bad actors can't impersonate your users, see their conversation history or make
1101+
unauthorized updates to data.
1102+
1103+
This should be called before any user login takes place.
1104+
1105+
### Options
1106+
1107+
| Type | Type | Required |
1108+
|------|--------|----------|
1109+
| JWT | string | yes |
1110+
1111+
### Returns
1112+
1113+
`Promise<boolean>`
1114+
___
1115+
10951116
## Author
10961117
10971118
👤 **Intercom (https://www.intercom.com/)**

0 commit comments

Comments
 (0)