Skip to content

Commit

Permalink
fixed method name as per the azure board review (#18378)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrsvihlik authored Oct 27, 2021
1 parent 65832ba commit f2a1e38
Show file tree
Hide file tree
Showing 21 changed files with 159 additions and 161 deletions.
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

0 comments on commit f2a1e38

Please sign in to comment.