<PackageReference Include="Microsoft.Identity.Client" Version="4.82.1" />

Microsoft.Identity.Client.PlatformsCommon.Interfaces.IPlatformProxy

interface IPlatformProxy
Common operations for extracting platform / operating system specifics. Scope: per app

WAM broker has a deeper integration into MSAL because MSAL needs to store WAM account IDs in the token cache.

Most brokers take care of both silent auth and interactive auth, however some (iOS) does not support silent auth and gives the RT back to MSAL.

ITokenCacheAccessor CreateTokenCacheAccessor(CacheOptions accessorOptions, bool isApplicationTokenCache = false)

Returns the name of the calling assembly

Returns the version of the calling assembly

string GetDefaultRedirectUri(string clientId, bool useRecommendedRedirectUri = false)

Gets the default redirect URI for the platform, which sometimes includes the clientId

string GetDeviceId()

Returns a device identifier. Varies by platform.

string GetDeviceModel()

Gets the device model. On some TFMs this is not returned for security reasons.

string GetProductName()

Returns the MSAL platform, e.g. MSAL.NetCore, MSAL.Desktop.

Returns the framework runtime version on which the app is running, e.g. .NET Core 3.1.3, .NET Framework 4.8.

Gets the UPN of the user currently logged into the OS

void SetFeatureFlags(IFeatureFlags featureFlags)

Task StartDefaultOsBrowserAsync(string url, bool isBrokerConfigured)

Go to a URL using the OS default browser.