-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[identity] Add support for useDefaultBrokerAccount (#28979)
### Packages impacted by this PR @azure/identity ### Issues associated with this PR Resolves #27390 ### Describe the problem that is addressed by this PR Adds `useDefaultBrokerAccount` to `brokerOptions` and plumbs it through to the InteractiveBrowserCredential. When the user enables this feature, brokered IBC will first attempt to use the default OS account. If that fails, it falls back to the existing behavior. ### Are there test cases added in this PR? _(If not, why?)_ We desperately need to improve our test coverage, but we do not have IBC tests today. Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
- Loading branch information
1 parent
22d7556
commit c9ac436
Showing
6 changed files
with
122 additions
and
24 deletions.
There are no files selected for viewing
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
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