Skip to content

Commit f2a1e38

Browse files
authored
fixed method name as per the azure board review (#18378)
1 parent 65832ba commit f2a1e38

21 files changed

+159
-161
lines changed

sdk/communication/communication-identity/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- 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.
99
- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features
1010
- Added support to build custom Teams endpoint using M365 Teams identities
11-
- `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
11+
- `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
1212

1313
### Breaking Changes
1414

sdk/communication/communication-identity/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ await client.deleteUser(user);
125125

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

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

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

134134
## Troubleshooting
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)