-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support CreatePCA pattern for NAA apps (#7112)
This PR adds two new public APIs: * `createNestablePublicClientApplication` and `createStandardPublicClientApplication` as exportable functions. * Moving these functions out of PCA class helps us to eventually clean up and provide a better size output for NAA only apps. The usage pattern still remains the same: - Create nestedPCA if the OperatingContext matches - Fall back to standardPCA as default `PublicClientNext` will eventually see removal in any NAA support as we make changes. We will add notice that `PCANext` will not be following semver in the upcoming releases, so we can experiment with the future changes using that class once this pattern is adapted. --------- Co-authored-by: Thomas Norling <[email protected]>
- Loading branch information
Showing
13 changed files
with
218 additions
and
105 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@azure-msal-browser-00455612-6510-4e44-9f9d-261720c76b5a.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "minor", | ||
"comment": "Add createNestablePublicClientApplication()", | ||
"packageName": "@azure/msal-browser", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.