- Dependency versions updated.
- Introduction of new scopes for token generation.
ChatJoin
(Access to Chat APIs but without the authorization to create, delete or update chat threads)ChatJoinLimited
(A more limited version ofChatJoin
that doesn't allow to add or remove participants)VoIPJoin
(Access to Calling APIs but without the authorization to start new calls)
- Added a new API version
ServiceVersion.V2023_10_01
that is now the default API version.
- Added support to customize the Communication Identity access token’s validity period:
- Added method overloads that provide the ability to create a Communication Identity access token with custom expiration:
CreateUserAndToken(IEnumerable<CommunicationTokenScope> scopes, TimeSpan tokenExpiresIn, CancellationToken cancellationToken = default)
CreateUserAndTokenAsync(IEnumerable<CommunicationTokenScope> scopes, TimeSpan tokenExpiresIn, CancellationToken cancellationToken = default)
GetToken(CommunicationUserIdentifier communicationUser, IEnumerable<CommunicationTokenScope> scopes, TimeSpan tokenExpiresIn, CancellationToken cancellationToken = default)
GetTokenAsync(CommunicationUserIdentifier communicationUser, IEnumerable<CommunicationTokenScope> scopes, TimeSpan tokenExpiresIn, CancellationToken cancellationToken = default)
- Added method overloads that provide the ability to create a Communication Identity access token with custom expiration:
- Added a new API version
ServiceVersion.V2022_10_01
that is now the default API version.
- 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
.