Skip to content

Commit 1bbe76b

Browse files
Update identity-model.md
addressed comments
1 parent 0fef1e8 commit 1bbe76b

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

articles/communication-services/concepts/identity-model.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ After a user identity is created, a user is granted with the capability to parti
3636

3737
An access token is a JSON Web Token (JWT) and has integrity protection. That is, its claims can't be changed after it's issued. So a manual change of properties such as identity, expiration, or scopes will invalidate the access token. If primitives are used with invalidated tokens, then access will be denied to the primitives. Azure Communication Services supports the following scopes for access tokens.
3838

39-
## Chat Tokens
40-
Three types of chat tokens are supported. Permissions for each token are described below.
39+
## Chat Token Scopes
40+
Three types of chat token scopes are supported. Permissions for each token are described below.
4141
- chat
4242
- chat.join
4343
- chat.join.limited
4444

45-
|Capability / Token type| chat | chat.join | chat.join.limited |
46-
|--------------------------|---|---|---|
45+
|Capability / Token scope| chat | chat.join | chat.join.limited |
46+
|---|---|---|---|
4747
|Create chat thread | Y | N | N |
4848
|Update chat thread with ID | Y | N | N |
4949
|Delete chat thread with ID | Y | N | N |
@@ -60,13 +60,13 @@ Three types of chat tokens are supported. Permissions for each token are describ
6060
|Send typing indicator | Y | Y | Y |
6161
|Get participant for thread ID | Y | Y | Y |
6262

63-
## VoIP calling Tokens
64-
Tow types of VoIP calling tokens are supported. Permissions for each token are described below.
65-
- VoIP
66-
- VoIP.join
63+
## VoIP Token Scopes
64+
Two types of VoIP token scopes are supported. Permissions for each token are described below.
65+
- voip
66+
- voip.join
6767

68-
|Capability / Token type| VoIP | VoIP.join |
69-
|--------------------------|---|---|
68+
|Capability / Token scope| voip | voip.join |
69+
|---|---|---|
7070
|Start a VoIP call | Y | N |
7171
|Start a VoIP call in Virtual Rooms, when the user is already invited to the Room| Y | Y |
7272
|Join an InProgress VoIP call | Y | Y |
@@ -75,7 +75,6 @@ Tow types of VoIP calling tokens are supported. Permissions for each token are d
7575
|All other in call operations such as mute/unmute, screen share etc. in Virtual Rooms| Y | Determined by user role |
7676

7777
## Revoke or Update access token
78-
Access token can be removed in a few ways.
7978
- Azure Communication Services Identity library can be used to revoke an access token before its expiration time. Token revocation isn't immediate. It can take up to 15 minutes to propagate.
8079
- The removal of an identity, resource, or subscription revokes all access tokens.
8180
- If you want to remove a user's ability to access specific functionality, revoke all access tokens. Then issue a new access token that has a more limited set of scopes.

0 commit comments

Comments
 (0)