Skip to content

Azure.Communication.Identity_1.2.0

Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 11 Oct 13:50
14f16b7

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 a new API version ServiceVersion.V2022_10_01 that is now the default API version.