-
Notifications
You must be signed in to change notification settings - Fork 46
Edge TB: Updating execute method definition, Fixes AB#3423519 #2807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
❌ Work item link check failed. Description does not contain AB#{ID}. Click here to Learn more. |
1 similar comment
|
❌ Work item link check failed. Description does not contain AB#{ID}. Click here to Learn more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for additional required parameters in WebApps operations by introducing a new data class WebAppsAdditionalRequiredParameters and updating the broker controller's API. It also adds a new error constant FLIGHT_DISABLED for feature flight scenarios.
Key changes:
- Adds
FLIGHT_DISABLEDerror string constant for handling disabled feature flights - Introduces
WebAppsAdditionalRequiredParametersdata class to encapsulate metadata about calling applications (package name, app name/version, SDK type/version) and UI capability flag - Updates
executeWebAppRequestmethod signature to accept the new additional parameters
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| common4j/src/main/com/microsoft/identity/common/java/exception/ErrorStrings.java | Adds FLIGHT_DISABLED error constant for feature flight validation scenarios |
| common/src/main/java/com/microsoft/identity/common/internal/controllers/BrokerMsalController.java | Updates executeWebAppRequest method signature to include WebAppsAdditionalRequiredParameters parameter and imports the new data class |
| common/src/main/java/com/microsoft/identity/common/internal/broker/ipc/WebAppsAQdditionalRequiredParameters.kt | Introduces new data class containing caller metadata and UI capability flag for WebApps broker operations (note: filename contains critical spelling error) |
...ava/com/microsoft/identity/common/internal/broker/ipc/WebAppsAdditionalRequiredParameters.kt
Show resolved
Hide resolved
...ava/com/microsoft/identity/common/internal/broker/ipc/WebAppsAdditionalRequiredParameters.kt
Show resolved
Hide resolved
mohitc1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
mohitc1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
p3dr0rv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Summary
Updating the execute method definition so that OneAuth can start mocking request if they'd like.
AB#3423519