1.2.0 (2022-10-11)
Features Added
- 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.