TokenAcquirerExtensions.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.
Adds extra body parameters to the token acquisition request. Parameters are merged into any existing extra body parameters dictionary, so this can be composed with other extensions that also add body parameters.
public static Microsoft.Identity.Abstractions.AcquireTokenOptions WithExtraBodyParameters(this Microsoft.Identity.Abstractions.AcquireTokenOptions options, System.Collections.Generic.IDictionary<string,string> extraBodyParameters);
static member WithExtraBodyParameters : Microsoft.Identity.Abstractions.AcquireTokenOptions * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Identity.Abstractions.AcquireTokenOptions
<Extension()>
Public Function WithExtraBodyParameters (options As AcquireTokenOptions, extraBodyParameters As IDictionary(Of String, String)) As AcquireTokenOptions
Parameters
- options
- AcquireTokenOptions
The acquire token options.
- extraBodyParameters
- IDictionary<String,String>
The extra body parameters to include in the token request.
Returns
The modified options for fluent chaining.