github Azure/azure-sdk-for-java azure-communication-identity_1.4.0

latest releases: azure-resourcemanager-servicefabricmanagedclusters_1.0.0-beta.2, azure-storage-queue_12.24.0-beta.1, azure-storage-internal-avro_12.14.0-beta.1...
2 years ago

1.4.0 (2022-10-12)

Features Added

  • Added support to customize the Communication Identity access token's validity period:
    • Added methods that provide the ability to create a Communication Identity access token with custom expiration:
      • CommunicationIdentityClient:
        • createUserAndToken(Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
        • createUserAndTokenWithResponse(Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn, Context context)
        • getToken(CommunicationUserIdentifier communicationUser, Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
        • getTokenWithResponse(CommunicationUserIdentifier communicationUser, Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn, Context context)
      • CommunicationIdentityAsyncClient:
        • createUserAndToken(Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
        • createUserAndTokenWithResponse(Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
        • getToken(CommunicationUserIdentifier communicationUser, Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
        • getTokenWithResponse(CommunicationUserIdentifier communicationUser, Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
  • Added a new API version CommunicationIdentityServiceVersion.V2022_10_01 that is now the default API version.

Dependency Updates

  • Upgraded azure-core from 1.32.0 to version 1.33.0.
  • Upgraded azure-communication-common from 1.2.1 to version 1.2.2.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.