Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

ADAL.NET Version 5.0.1-preview

Pre-release
Pre-release
Compare
Choose a tag to compare
@trwalke trwalke released this 01 Apr 23:52
· 83 commits to dev since this release

Version 5.0.1-preview

  • ADAL now guarantees Before/After Access is called in all cases for the TokenCache. Adal issue 1525
  • In CustomWebUI flows, it's possible that the process implementing the UI is in another process. ADAL now serializes the exceptions in this case. ADAL issue 1526
  • AcquireTokenByDeviceCodeAsync now supports the CancellationToken. CancellationToken support was needed in this API to allow the developer to cancel the operation as needed. ADAL issue 1533
  • UI can hang due to not having proper SynchronizationContext for UI interaction. When staring the Windows web authentication dialog, running on an MTA or STA thread, ADAL usually ends up on an MTA thread because of the async await, and then tries to create a new STA thread to run the browser on. This can result in a deadlock. ADAL now captures the synchronization context at AcquireTokenInteractive so the appropriate sync context is used when creating the interactive browser dialog. ADAL issue 1548
  • ADAL does not reuse the HttpClient. A New interface is introduced IHttpClientFactory to pass-in the HttpClient to be used by ADAL.NET to communicate with the endpoints of Microsoft identity platform for developers. See https://aka.ms/adal-net-httpclient for details. Adal issue 1488
  • ADAL now creates an HttpClient that uses the NSURLSessionHandler for iOS7 and newer ADAL issue 1554
  • ADAL now publishes symbols to the Microsoft Symbol Server ADAL issue 1540
  • When using the KeychainSecurityGroup property to enable application sharing of the token cache, developers were required to include the TeamId. Now, ADAL resolves the TeamId at runtime. A new property iOSKeychainSecurityGroup should be used instead. See https://aka.ms/adal-net-ios-keychain-access for details. ADAL issue