Common code used by both the Active Directory Authentication Library (ADAL) and the Microsoft Authentication Library (MSAL)
41
stars
35
forks
source link
Clear active broker cache if the (cached) active broker app doesn't support ipc mechanism #2331
Closed
rpdome closed 8 months ago
Scenario
In this scenario, MSALTestApp's active broker cache should be wiped.
How?
I moved
isSupportedByTargetedBroker()
fromAbstractIpcStrategyWithServiceValidation
toIIpcStrategy
In
BrokerDiscoveryClient
, invoke that method as we read value from cache.This is a breaking change (to broker) because IIpcStrategy is being used in multiple places - especially in tests.
Validation
Related PR: MSAL (update tests) https://github.com/AzureAD/microsoft-authentication-library-for-android/pull/2047