NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #3291 most downloaded on pub.dev
A Dart wrapper for the 'Microsoft Authentication Library for JavaScript (MSAL.js)'.
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 4 months
Nearly every release is documented
notes for 12 of 12 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
13 releases · first in 2018
(breaking change) Support for MSAL.js 2.14.
UserAgentApplication was renamed to PublicClientApplication.handleRedirectFuture replaces handleRedirectCallback.MissingMsalJsException class.Logger log level would set the wrong level.LoggerOptions would return the wrong level.Migrated to null safety. ( #21 , thanks nyarian !)
2.12.0-259.9.beta.LogLevel.unknown to represent msal.js log levels that don't have an enum value counterpart.One column per quarter.
Added UserAgentApplication.ssoSilent .
UserAgentApplication.ssoSilent.UserAgentApplication.setLogger.AuthRequest.redirectStartPage.AuthRequest.onRedirectNavigate.AuthRequest.authorityMetadata.AuthOptions.authorityMetadata.AuthOptions.knownAuthorities.Logger without any options.Fix InteractionRequiredAuthError s and ServerError s not being converted correctly to their exception counterparts.
InteractionRequiredAuthErrors and ServerErrors not being converted correctly to their exception counterparts.Deprecated MissingMsalJsException . This is no longer thrown even if msal.js is missing.
dart:js usage with package:js. This gets around a dart2js issue when compiling a Flutter app for the web and also "modernizes" the codebase a little.MissingMsalJsException. This is no longer thrown even if msal.js is missing.Fix acquireTokenPopup , acquireTokenSilent , and loginPopup failing to correctly convert JS promise errors to exceptions.
acquireTokenPopup, acquireTokenSilent, and loginPopup failing to correctly convert JS promise errors to exceptions.Support for msal.js v1.2.x Added AuthRequest.redirectUri
AuthRequest.redirectUriSupport for msal.js v1.1.x Added Account.idTokenClaims Added AuthRequest.forceRefresh
Account.idTokenClaimsAuthRequest.forceRefreshDeprecated FrameworkOptions . The 'framework' configuration for UserAgentApplication is an unfortunate coupling between msal-core and msal-angular(js)…
AuthRequest.extraQueryParameters not working.package:js.FrameworkOptions. The 'framework' configuration for UserAgentApplication is an unfortunate coupling between msal-core and msal-angular(js). Since this package only wraps msal-core, setting these options does nothing and should not have been included in the API to begin with. It will be removed in a future release.See https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL.js-1.0.0-api-release for conceptual breaking changes in 1.0.
See https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL.js-1.0.0-api-release for conceptual breaking changes in 1.0.
User with Account.MsalException with AuthException and its inheritors.UserAgentApplication changes:
AuthRequest and AuthResponse respectively.Configuration object.TokenReceivedCallback with AuthResponseCallback.getUser with getAccount.getAllUsers with getAllAccounts.loginInProgress with getLoginInProgress.handleRedirectCallback.getCurrentConfiguration.getPostLogoutRedirectUri.getRedirectUri.cacheLocation.loadFrameTimeout.clientId.validateAuthority.LoggerOptions.null for options when creating a Logger.UserAgentApplicationOptions changes:
UserAgentApplicationOptions changes:
redirectUri may now be either a String or RedirectUriCallback.postLogoutRedirectUri may now be either a String or RedirectUriCallback.UserAgentApplication changes:
tokenReceivedCallback may now be null.Fix crash which occurred when using the logger callback in code compiled with dart2js.
Rewrote entire library using package:js.
package:js.UserAgentApplication now semantically matches the JavaScript version.Logger now semantically matches the JavaScript version.Versions listed below are not available on pub as they were made before this package was published.
Your coding agent can read these notes before it upgrades. Set up the MCP server →