Commit 255d966
committed
Address Copilot PR feedback: BrokerRequest Javadoc + result adapter exception handling
- BrokerRequest.mOnboardingSeedJson: clarify direction is client -> broker only;
the broker returns the populated blob via BrokerResult.getOnboardingBlob(),
not by mutating this seed field.
- MsalBrokerResultAdapter.getAcquireTokenResultFromResultBundle: catch
ClientException specifically (the only declared exception from
brokerResultFromBundle) instead of swallowing all Exception, log at warn
level so IPC/regression issues remain diagnosable, and remove the redundant
null check (brokerResultFromBundle is non-null or throws). Blob contents are
not logged (may carry sessionCorrelationId).1 parent 5d7afb7 commit 255d966
2 files changed
Lines changed: 14 additions & 6 deletions
File tree
- common/src/main/java/com/microsoft/identity/common/internal
- broker
- result
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
304 | 308 | | |
305 | 309 | | |
306 | 310 | | |
| |||
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1015 | 1015 | | |
1016 | 1016 | | |
1017 | 1017 | | |
| 1018 | + | |
1018 | 1019 | | |
1019 | 1020 | | |
1020 | 1021 | | |
| |||
1039 | 1040 | | |
1040 | 1041 | | |
1041 | 1042 | | |
1042 | | - | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
1043 | 1047 | | |
1044 | 1048 | | |
1045 | | - | |
| 1049 | + | |
1046 | 1050 | | |
1047 | 1051 | | |
1048 | | - | |
1049 | | - | |
| 1052 | + | |
| 1053 | + | |
1050 | 1054 | | |
1051 | 1055 | | |
1052 | 1056 | | |
| |||
0 commit comments