Skip to content

Commit

Permalink
[Communication]: Add SDK operation to exchange access token (#15449)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thdinizm authored May 28, 2021
1 parent df9d492 commit 4a22e11
Show file tree
Hide file tree
Showing 43 changed files with 587 additions and 251 deletions.
41 changes: 38 additions & 3 deletions common/config/rush/pnpm-lock.yaml

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

3 changes: 2 additions & 1 deletion sdk/communication/communication-identity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 1.0.1 (Unreleased)
## 1.1.0-beta.1 (Unreleased)

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

## 1.0.0 (2021-03-29)

Expand Down
5 changes: 3 additions & 2 deletions sdk/communication/communication-identity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/communication-identity",
"version": "1.0.1",
"version": "1.1.0-beta.1",
"description": "SDK for Azure Communication service which facilitates user token administration.",
"sdk-type": "client",
"main": "dist/index.js",
Expand Down Expand Up @@ -79,12 +79,13 @@
"@azure/core-http": "^1.2.0",
"@azure/core-lro": "^1.0.2",
"@azure/core-paging": "^1.1.1",
"@azure/logger": "^1.0.0",
"@azure/core-tracing": "1.0.0-preview.11",
"@azure/logger": "^1.0.0",
"events": "^3.0.0",
"tslib": "^2.0.0"
},
"devDependencies": {
"@azure/msal-node": "^1.0.2",
"@azure/dev-tool": "^1.0.0",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/test-utils": "^1.0.0",
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.

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 4a22e11

Please sign in to comment.