Microsoft.Identity.Client.Internal.ClientCredential.CredentialMaterial
Normalized output of GetCredentialMaterialAsync.
Replaces the former ClientCredentialApplicationResult and decouples "what credentials
produce" from "how the token client applies them".
namespace Microsoft.Identity.Client.Internal.ClientCredential
{
internal sealed class CredentialMaterial
{
public IReadOnlyDictionary<string, string> TokenRequestParameters { get; }
public X509Certificate2 ResolvedCertificate { get; }
public CredentialMaterial(IReadOnlyDictionary<string, string> tokenRequestParameters, X509Certificate2 resolvedCertificate = null);
}
}