Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/communication/communication-identity/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- Updated our internal core package dependencies to their latest versions in order to add support for Opentelemetry 1.0.0 which is compatible with the latest versions of our other client libraries.
- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features
- Added support to build custom Teams endpoint using M365 Teams identities
- `CommunicationIdentityClient` added a new method `exchangeTeamsUserAadToken` that provides the ability to exchange an AAD access token of a Teams user for a Communication Identity access token
- `CommunicationIdentityClient` added a new method `getTokenForTeamsUser` that provides the ability to exchange an AAD access token of a Teams user for a Communication Identity access token

### Breaking Changes

Expand Down
4 changes: 2 additions & 2 deletions sdk/communication/communication-identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ await client.deleteUser(user);

### Exchanging AAD access token of a Teams User for a Communication access token

Use `exchangeTeamsUserAadToken` method to exchange an AAD access token of a Teams user for a new `CommunicationAccessToken` with a matching expiration time.
Use `getTokenForTeamsUser` method to exchange an AAD access token of a Teams user for a new `CommunicationAccessToken` with a matching expiration time.

```typescript
await client.exchangeTeamsUserAadToken('<aad-access-token-of-a-teams-user>');
await client.getTokenForTeamsUser('<aad-access-token-of-a-teams-user>');
```

## Troubleshooting
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading