Skip to content

Commit 4a22e11

Browse files
authored
[Communication]: Add SDK operation to exchange access token (Azure#15449)
Introduce new operation to exchange an AAD token for ACS token: * Generated new models from ACS Identity's 2021-03-31-preview1 swagger * Introduced new `exchangeToken` method into public client * Introduced new environment variables for testing * Introduced tests for node environment
1 parent df9d492 commit 4a22e11

File tree

43 files changed

+587
-251
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+587
-251
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 38 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/communication-identity/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Release History
22

3-
## 1.0.1 (Unreleased)
3+
## 1.1.0-beta.1 (Unreleased)
44

5+
- `CommunicationIdentityClient` added a new method `exchangeTeamsToken` that provides the ability to exchange a Teams token for an ACS access token.
56

67
## 1.0.0 (2021-03-29)
78

sdk/communication/communication-identity/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure/communication-identity",
3-
"version": "1.0.1",
3+
"version": "1.1.0-beta.1",
44
"description": "SDK for Azure Communication service which facilitates user token administration.",
55
"sdk-type": "client",
66
"main": "dist/index.js",
@@ -79,12 +79,13 @@
7979
"@azure/core-http": "^1.2.0",
8080
"@azure/core-lro": "^1.0.2",
8181
"@azure/core-paging": "^1.1.1",
82-
"@azure/logger": "^1.0.0",
8382
"@azure/core-tracing": "1.0.0-preview.11",
83+
"@azure/logger": "^1.0.0",
8484
"events": "^3.0.0",
8585
"tslib": "^2.0.0"
8686
},
8787
"devDependencies": {
88+
"@azure/msal-node": "^1.0.2",
8889
"@azure/dev-tool": "^1.0.0",
8990
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
9091
"@azure/test-utils": "^1.0.0",

sdk/communication/communication-identity/recordings/browsers/communicationidentityclient_playbacklive/recording_successfully_creates_a_user.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/communication-identity/recordings/browsers/communicationidentityclient_playbacklive/recording_successfully_creates_a_user_and_gets_a_token_in_a_single_request.json

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/communication-identity/recordings/browsers/communicationidentityclient_playbacklive/recording_successfully_creates_a_user_and_token.json

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/communication-identity/recordings/browsers/communicationidentityclient_playbacklive/recording_successfully_deletes_a_user.json

Lines changed: 14 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/communication-identity/recordings/browsers/communicationidentityclient_playbacklive/recording_successfully_gets_a_token_for_a_user_multiple_scopes.json

Lines changed: 15 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/communication-identity/recordings/browsers/communicationidentityclient_playbacklive/recording_successfully_gets_a_token_for_a_user_single_scope.json

Lines changed: 15 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)