<PackageReference Include="Microsoft.ApplicationInsights" Version="2.22.0" />

Microsoft.ApplicationInsights.Extensibility.Implementation.Authentication.CredentialEnvelope

abstract class CredentialEnvelope
This interface defines a class that can interact with Azure.Core.TokenCredential. See also: (https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/core/Azure.Core/src/TokenCredential.cs).
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Authentication { internal abstract class CredentialEnvelope { public abstract AuthToken GetToken(CancellationToken cancellationToken = default(CancellationToken)); public abstract Task<AuthToken> GetTokenAsync(CancellationToken cancellationToken = default(CancellationToken)); protected CredentialEnvelope(); } }