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".
Optional certificate returned by the credential.
Present when a certificate credential was used (regular or mTLS) or a delegate credential
returned a ClientSignedAssertion with a
TokenBindingCertificate.
null when no certificate is involved (secret, plain JWT assertion).
public CredentialMaterial(IReadOnlyDictionary<string, string> tokenRequestParameters, X509Certificate2 resolvedCertificate = null)