Microsoft.Identity.Client.ApiConfig.Parameters.AcquireTokenCommonParameters
public Func<string, SafeHandle, string, string, ILoggerAdapter, CancellationToken, Task<string>> AttestationTokenProvider { get; set; }
Optional delegate for obtaining attestation JWT for Credential Guard keys.
Set by the KeyAttestation package via .WithAttestationSupport().
Returns null for non-attested flows.
Signature: (endpoint, keyHandle, clientId, keyId, logger, cancellationToken) → JWT or null.
Optional caller-supplied delegate that adds extra tags to the OpenTelemetry metrics MSAL records
for this request. It receives the ExecutionResult of the acquisition (success or failure)
and a mutable list of tags to which additional dimensions can be appended.
Set via WithOtelTagsEnricher.
public AcquireTokenCommonParameters()