AcquireTokenForClientBuilderExtensions.WithExtraBodyParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder WithExtraBodyParameters(this Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder builder, System.Collections.Generic.Dictionary<string,Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<string>>> extrabodyparams);
static member WithExtraBodyParameters : Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder * System.Collections.Generic.Dictionary<string, Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<string>>> -> Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder
<Extension()>
Public Function WithExtraBodyParameters (builder As AcquireTokenForClientParameterBuilder, extrabodyparams As Dictionary(Of String, Func(Of CancellationToken, Task(Of String)))) As AcquireTokenForClientParameterBuilder
Parameters
- extrabodyparams
- Dictionary<String,Func<CancellationToken,Task<String>>>
List of additional body parameters