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.
bool CanBrokerSupportSilentAuth()
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)
string GetCallingApplicationName()
Returns the name of the calling assembly
string GetCallingApplicationVersion()
Returns the version of the calling assembly
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 GetOperatingSystem()
string GetProcessorArchitecture()
string GetProductName()
Returns the MSAL platform, e.g. MSAL.NetCore, MSAL.Desktop.
string GetRuntimeVersion()
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
Go to a URL using the OS default browser.