msal_js 1.0.0
msal_js: ^1.0.0 copied to clipboard
A Dart wrapper for the 'Microsoft Authentication Library for JavaScript (MSAL.js)'.
1.0.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.
- Support for msal.js v1.0.x.
- Changed minimum Dart SDK version from 1.23.0 to 2.0.0.
- Replaced
UserwithAccount. - Replaced
MsalExceptionwithAuthExceptionand its inheritors. UserAgentApplicationchanges:- Login/acquire methods now take in and return
AuthRequestandAuthResponserespectively. - Constructor now takes in a single
Configurationobject. - Replaced
TokenReceivedCallbackwithAuthResponseCallback. - Replaced
getUserwithgetAccount. - Replaced
getAllUserswithgetAllAccounts. - Replaced
loginInProgresswithgetLoginInProgress. - Added
handleRedirectCallback. - Added
getCurrentConfiguration. - Added
getPostLogoutRedirectUri. - Added
getRedirectUri. - Removed
cacheLocation. - Removed
loadFrameTimeout. - Removed
clientId. - Removed
validateAuthority.
- Login/acquire methods now take in and return
- Added missing getters to
LoggerOptions. - Fixed error when providing
nullfor options when creating aLogger.
0.3.2 #
- Support for msal.js v0.2.4.
UserAgentApplicationOptionschanges:redirectUrimay now be either aStringorRedirectUriCallback.postLogoutRedirectUrimay now be either aStringorRedirectUriCallback.
UserAgentApplicationchanges:- The constructor parameter
tokenReceivedCallbackmay now benull.
- The constructor parameter
0.3.1 #
- Fix crash which occurred when using the logger callback in code compiled with dart2js.
0.3.0 #
- Rewrote entire library using
package:js. - The constructor for
UserAgentApplicationnow semantically matches the JavaScript version. - The constructor for
Loggernow semantically matches the JavaScript version. - No longer contains a build of msal.js. A valid version of msal.js must be installed separately.
Versions listed below are not available on pub as they were made before this package was published.
0.2.1 #
- Fix
MsalExceptionnot correctly decoding the error code/description.
0.2.0 #
- Support for msal.js v0.2.3.
- All
UserAgentApplicationconstructor parameters are now named. Parameters that used to be positional are now marked as@required.
0.1.0 #
- Support for msal.js v0.1.5.