Releases: equinor/fusion-framework
Releases · equinor/fusion-framework
@equinor/[email protected]
Minor Changes
-
#2814
ea4b522
Thanks @odinr! - ---"@equinor/fusion-framework": minor
@equinor/fusion-framework:
Enhanced the
FrameworkConfigurator
class to improve the configuration of MSAL authentication.-
Updated the
configureMsal
method to accept a callback function (AuthConfigFn
) and an optionalrequiresAuth
parameter. -
The
configureMsal
method now adds a configuration object that sets therequiresAuth
property and invokes the provided callback function with the builder./** Example of using the updated `configureMsal` method */ import { FrameworkConfigurator } from '@equinor/fusion-framework'; const configurator = new FrameworkConfigurator(); // prefered way to configure MSAL configurator.configureMsal((builder) => { builder.setClientConfig({ tentantId: '...', clientId: '...', redirectUri: '...', }); builder.setRequiresAuth(true); }); // backward compatible way to configure MSAL configurator.configureMsal( { tentantId: '...', clientId: '...', redirectUri: '...', }, true, );
This change is backward compatible and does not require any changes to existing code, but it is recommended to use the new callback function for better readability and maintainability.
-
Patch Changes
- Updated dependencies [
ea4b522
]:- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
@equinor/[email protected]
Patch Changes
- Updated dependencies [
ea4b522
,ea4b522
]:- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
@equinor/[email protected]
Minor Changes
Patch Changes
- Updated dependencies [
ea4b522
]:- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
@equinor/[email protected]
Patch Changes
- Updated dependencies [
ea4b522
,ea4b522
]:- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
@equinor/[email protected]
Patch Changes
- Updated dependencies []:
- @equinor/[email protected]
@equinor/[email protected]
Patch Changes
- Updated dependencies []:
- @equinor/[email protected]
@equinor/[email protected]
Patch Changes
- Updated dependencies [
ea4b522
]:- @equinor/[email protected]
- @equinor/[email protected]
@equinor/[email protected]
Patch Changes
- Updated dependencies [
ea4b522
]:- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
@equinor/[email protected]
Patch Changes
-
Updated dependencies [
ea4b522
]:- @equinor/[email protected]
- @equinor/[email protected]
@equinor/[email protected]
Minor Changes
- #2814
ea4b522
Thanks @odinr! - Update implementation of hookuseToken
anduseAccessToken
, to consume new MSAL provider interface.
Patch Changes
- Updated dependencies [
ea4b522
,4578b18
,ea4b522
,ea4b522
]:- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]