Microsoft.Identity.Client.Extensibility.AcquireTokenForClientBuilderExtensions
public static AcquireTokenForClientParameterBuilder WithExtraBodyParameters(this AcquireTokenForClientParameterBuilder builder, Dictionary<string, Func<CancellationToken, Task<string>>> extrabodyparams)
Add extra body parameters to the token request. These parameters are added to the cache key to associate these parameters with the acquired token.
public static AcquireTokenForClientParameterBuilder WithProofOfPosessionKeyId(this AcquireTokenForClientParameterBuilder builder, string keyId, string expectedTokenTypeFromAad = "Bearer")
Binds the token to a key in the cache. L2 cache keys contain the key id.
No cryptographic operations is performed on the token.