- Added support to integrate communication as Teams user with Azure Communication Services:
- Added
GetTokenForTeamsUser(GetTokenForTeamsUserOptions options, CancellationToken cancellationToken = default)
method that provides the ability to exchange an Azure AD access token of a Teams user for a Communication Identity access token toCommunicationIdentityClient
.
- Added
- Removed
ServiceVersion.V2021_10_31_preview
- Added a new API version
ServiceVersion.V2022_06_01
that is now the default API version
- Updated version of Identity API to enable to to integrate communication as Teams user with Azure Communication Services
- Dependency versions updated.
Updated Azure.Communication.Identity
version.
- CommunicationIdentityClient.IssueToken and CommunicationIdentityClient.IssueTokenAsync are renamed to GetToken and GetTokenAsync, respectively.
- CommunicationIdentityClient.CreateUserWithToken and CommunicationIdentityClient.CreateUserWithTokenAsync are renamed to CreateUserAndToken and CreateUserAndTokenAsync, respectively. Their return value is also changed from Tuple<CommunicationUserIdentifier, string> to CommunicationUserIdentifierAndToken.
- Added CommunicationIdentityClient (originally was part of the Azure.Communication.Administration package).
- Added support to create CommunicationIdentityClient with TokenCredential.
- Added support to create CommunicationIdentityClient with AzureKeyCredential.
- Added ability to create a user and issue token for it at the same time.
- CommunicationTokenScope.Pstn is removed.
- CommunicationIdentityClient.RevokeTokens now revoke all the currently issued tokens instead of revoking tokens issued prior to a given time.
- CommunicationIdentityClient.IssueToken returns an instance of
Azure.Core.AccessToken
instead ofCommunicationUserToken
.