- Optimization added: When the proactive refreshing is enabled and the token refresher fails to provide a token that's not about to expire soon, the subsequent refresh attempts will be scheduled for when the token reaches half of its remaining lifetime until a token with long enough validity (>10 minutes) is obtained.
- Dependency versions updated.
Updated Azure.Communication.Common
version.
Updated Azure.Communication.Common
version.
- Updated
CommunicationTokenRefreshOptions(bool refreshProactively, Func<CancellationToken, string> tokenRefresher, Func<CancellationToken, ValueTask<string>> asyncTokenRefresher = null, string initialToken = null)
toCommunicationTokenRefreshOptions(bool refreshProactively, Func<CancellationToken, string> tokenRefresher)
.asyncTokenRefresher
andinitialToken
are updated to become public properties.
- Added
MicrosoftTeamsUserIdentifier
.
- Renamed
CommunicationUserCredential
toCommunicationTokenCredential
. - Replaced
CommunicationTokenCredential(bool refreshProactively, Func<CancellationToken, string> tokenRefresher,Func<CancellationToken, ValueTask<string>>? asyncTokenRefresher = null, string? initialToken = null)
. withCommunicationTokenCredential(CommunicationTokenRefreshOptions tokenRefreshOptions)
. - Renamed
PhoneNumber
toPhoneNumberIdentifier
. - Renamed
CommunicationUser
toCommunicationUserIdentifier
. - Removed
CallingApplication
. - Renamed
Id
toRawId
inPhoneNumberIdentifier
.
Updated Azure.Communication.Common
version.
Updated Azure.Communication.Common
version.
This package contains common code for Azure Communication Service libraries. For more information, please see the README.
This is a Public Preview version, so breaking changes are possible in subsequent releases as we improve the product. To provide feedback, please submit an issue in our Azure SDK for .NET GitHub repo.