Microsoft.Identity.Client.Internal.ClientCredential.CredentialContext
Immutable input context passed to GetCredentialMaterialAsync.
Consolidates all credential-resolution inputs into a single object, eliminating
the direct coupling to OAuth2Client and
AuthenticationRequestParameters that existed in the previous API.
namespace Microsoft.Identity.Client.Internal.ClientCredential
{
internal sealed class CredentialContext
{
public string ClientId { get; set; }
public string TokenEndpoint { get; set; }
public CredentialTransportProtocol Mode { get; set; }
public string Claims { get; set; }
public IEnumerable<string> ClientCapabilities { get; set; }
public ICryptographyManager CryptographyManager { get; set; }
public bool SendX5C { get; set; }
public bool UseSha2 { get; set; }
public string ExtraClientAssertionClaims { get; set; }
public string ClientAssertionFmiPath { get; set; }
public string Authority { get; set; }
public string TenantId { get; set; }
public Guid CorrelationId { get; set; }
public ILoggerAdapter Logger { get; set; }
public CredentialContext();
}
}