<PackageReference Include="Microsoft.Identity.Client" Version="4.83.1" />

Microsoft.Identity.Client.Extensibility.AbstractConfidentialClientAcquireTokenParameterBuilderExtension

Extensions for all AcquireToken methods

Intervenes in the request pipeline, by executing a user provided delegate before MSAL makes the token request. The delegate can modify the request payload by adding or removing body parameters and headers. OnBeforeTokenRequestData

Specifies additional parameters acquired from authentication responses to be cached with the access token that are normally not included in the cache object. these values can be read from the AdditionalResponseParameters parameter.

Enables client applications to provide a custom authentication operation to be used in the token acquisition request.

Specifies extra claims to be included in the client assertion. These claims will be merged with default claims when the client assertion is generated. This lets higher level APIs like Microsoft.Identity.Web provide additional claims for the client assertion. Important: tokens are associated with the extra client assertion claims, which impacts cache lookups. This is an extensibility API and should not be used by applications directly.

Specifies an FMI path to be used for the client assertion. This lets higher level APIs like Id.Web provide credentials which are FMI sensitive. Important: tokens are associated with the credential FMI path, which impacts cache lookups This is an extensibility API and should not be used by applications.

public static AbstractAcquireTokenParameterBuilder<T> WithProofOfPosessionKeyId<T>(this AbstractAcquireTokenParameterBuilder<T> builder, string keyId, string expectedTokenTypeFromAad = "Bearer") where T : AbstractAcquireTokenParameterBuilder<T>

Binds the token to a key in the cache.No cryptographic operations is performed on the token.