<PackageReference Include="Microsoft.Identity.Client" Version="4.84.2-preview" />

Microsoft.Identity.Client.AppConfig.CertificateOptions

Represents configuration options for certificate handling or management.
public bool AssociateTokensWithCertificate { get; set; }

Gets or sets a value indicating if the application tokens acquired from Azure AD are associated with the certificate serial number. This property when set, allow you to associate the tokens acquired from Azure AD with the certificate serial number. This can be used to partition the cache by certificate. Tokens acquired with one certificate will not be accessible to another certificate with a different serial number. Set this property to true to indicate that the tokens acquired from Azure AD are associated with the certificate serial number, by default it is set to false />

protected virtual Type EqualityContract { get; }

public bool SendCertificateOverMtls { get; set; }

Gets or sets a value indicating whether the certificate should be sent over mTLS (TLS client certificate authentication) as the default transport for token requests. When true, the certificate is sent in the TLS handshake instead of as a JWT assertion in the request body. This controls transport only — the resulting token type depends on request-level configuration: a plain request produces a Bearer token, while WithMtlsProofOfPossession produces an mTLS PoP token. When false (default), the certificate is sent as a JWT assertion in the request body.

public bool SendX5C { get; set; }

Gets or sets a value indicating whether the X.509 certificate chain (x5c) should be included in the token request.

public static bool op_Equality(CertificateOptions left, CertificateOptions right)

public static bool op_Inequality(CertificateOptions left, CertificateOptions right)

public virtual CertificateOptions <Clone>$()

public virtual bool Equals(CertificateOptions other)

protected virtual bool PrintMembers(StringBuilder builder)