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

Microsoft.Identity.Client.PlatformsCommon.Shared.AbstractPlatformProxy

namespace Microsoft.Identity.Client.PlatformsCommon.Shared { internal abstract class AbstractPlatformProxy : IPlatformProxy { public const string MacOsDescriptionForSTS = "MacOS"; public const string LinuxOSDescriptionForSTS = "Linux"; protected IFeatureFlags OverloadFeatureFlags { get; set; } protected ILoggerAdapter Logger { get; } public ITokenCacheAccessor UserTokenCacheAccessorForTest { get; set; } public ITokenCacheAccessor AppTokenCacheAccessorForTest { get; set; } public ICryptographyManager CryptographyManager { get; } public IPlatformLogger PlatformLogger { get; } public IOtelInstrumentation OtelInstrumentation { get; } public virtual bool BrokerSupportsWamAccounts { get; } public virtual bool LegacyCacheRequiresSerialization { get; } public IManagedIdentityKeyProvider ManagedIdentityKeyProvider { get; } protected AbstractPlatformProxy(ILoggerAdapter logger); public IWebUIFactory GetWebUiFactory(ApplicationConfiguration appConfig); public string GetDeviceModel(); public string GetOperatingSystem(); public string GetProcessorArchitecture(); public abstract Task<string> GetUserPrincipalNameAsync(); public string GetCallingApplicationName(); public string GetCallingApplicationVersion(); public string GetDeviceId(); public abstract string GetDefaultRedirectUri(string clientId, bool useRecommendedRedirectUri = false); public string GetProductName(); public string GetRuntimeVersion(); public abstract ILegacyCachePersistence CreateLegacyCachePersistence(); public virtual ITokenCacheAccessor CreateTokenCacheAccessor(CacheOptions tokenCacheAccessorOptions, bool isApplicationTokenCache = false); protected abstract IWebUIFactory CreateWebUiFactory(); protected abstract IFeatureFlags CreateFeatureFlags(); protected abstract string InternalGetDeviceModel(); protected abstract string InternalGetOperatingSystem(); protected abstract string InternalGetProcessorArchitecture(); protected abstract string InternalGetCallingApplicationName(); protected abstract string InternalGetCallingApplicationVersion(); protected abstract string InternalGetDeviceId(); protected abstract string InternalGetProductName(); protected abstract ICryptographyManager InternalGetCryptographyManager(); protected abstract IPlatformLogger InternalGetPlatformLogger(); protected virtual string InternalGetRuntimeVersion(); public virtual IFeatureFlags GetFeatureFlags(); public void SetFeatureFlags(IFeatureFlags featureFlags); public virtual Task StartDefaultOsBrowserAsync(string url, bool IBrokerConfigured); public virtual IBroker CreateBroker(ApplicationConfiguration appConfig, CoreUIParent uiParent); public virtual bool CanBrokerSupportSilentAuth(); public virtual IPoPCryptoProvider GetDefaultPoPCryptoProvider(); public virtual IDeviceAuthManager CreateDeviceAuthManager(); public virtual IMsalHttpClientFactory CreateDefaultHttpClientFactory(); } }