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

MSAL.NET Version 2.5.0-preview

Pre-release
Pre-release
Compare
Choose a tag to compare
@jennyf19 jennyf19 released this 21 Nov 03:10
· 178 commits to dev since this release
7044d32

2.5.0-preview

  • Improved the testability of apps using MSAL.NET: MSAL.NET was not easily mockable because the AuthenticationResult was an immutable sealed class with no public constructors. AuthenticationResult now has a public constructor for testing. MSAL issue #682
  • Improved support for Azure AD B2C: apps constructors now understand to b2clogin.com based authorities, Developer no longer needs to set ValidateAuthority=false, as the library handles this now. MSAL issue #686
  • GetAccountsAsync() can now be called when the device / computer is offline. It was making a network call to the instance discovery endpoint to determine the environments (equivalent clouds base URLs) for caching, which meant GetAccountsAsync() did not work off-line. This has been fixed and GetAccountsAsync() is not dependent on a network call and works off-line. MSAL issue #630