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

Microsoft.Identity.Client.TelemetryCore.Internal.Events.ApiEvent

class ApiEvent
namespace Microsoft.Identity.Client.TelemetryCore.Internal.Events { internal class ApiEvent { public enum ApiIds { None = 0, AcquireTokenByAuthorizationCode = 1000, AcquireTokenByRefreshToken = 1001, AcquireTokenByIntegratedWindowsAuth = 1002, AcquireTokenByUsernamePassword = 1003, AcquireTokenForClient = 1004, AcquireTokenInteractive = 1005, AcquireTokenOnBehalfOf = 1006, AcquireTokenSilent = 1007, AcquireTokenByDeviceCode = 1008, GetAuthorizationRequestUrl = 1009, GetAccounts = 1010, GetAccountById = 1011, GetAccountsByUserFlow = 1012, RemoveAccount = 1013, RemoveOboTokens = 1014, AcquireTokenForSystemAssignedManagedIdentity = 1015, AcquireTokenForUserAssignedManagedIdentity = 1016, InitiateLongRunningObo = 1017, AcquireTokenInLongRunningObo = 1018, AcquireTokenByUserFederatedIdentityCredential = 1019 } public Guid CorrelationId { get; set; } public ApiIds ApiId { get; set; } public string ApiIdString { get; } public string TokenEndpoint { get; set; } public bool IsAccessTokenCacheHit { get; set; } public string ApiErrorCode { get; set; } public int CachedAccessTokenCount { get; set; } public string RegionUsed { get; set; } public RegionAutodetectionSource RegionAutodetectionSource { get; set; } public string RegionAutodetectionSourceString { get; } public RegionOutcome RegionOutcome { get; set; } public string RegionOutcomeString { get; } public string AutoDetectedRegion { get; } public string RegionDiscoveryFailureReason { get; set; } public bool IsTokenCacheSerialized { get; set; } public char IsTokenCacheSerializedString { get; } public bool IsLegacyCacheEnabled { get; set; } public char IsLegacyCacheEnabledString { get; } public char IsManagedCertUsed { get; set; } public CacheRefreshReason CacheInfo { get; set; } public string CacheInfoString { get; } public long DurationInHttpInMs { get; set; } public long DurationInCacheInMs { get; set; } public int TokenType { get; set; } public AssertionType AssertionType { get; set; } public CacheLevel CacheLevel { get; set; } public string MsalRuntimeTelemetry { get; set; } public string CallerSdkApiId { get; set; } public string CallerSdkVersion { get; set; } public ApiEvent(Guid correlationId); public static bool IsLongRunningObo(ApiIds apiId); public static bool IsOnBehalfOfRequest(ApiIds apiId); } }