AcquireTokenParameterBuilderExtensions.WithExtraHttpHeaders<T> 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 additional Http Headers to the token request.
public static T WithExtraHttpHeaders<T> (this Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<T> builder, System.Collections.Generic.IDictionary<string,string> extraHttpHeaders) where T : Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<T>;
static member WithExtraHttpHeaders : Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T (requires 'T :> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T>)> * System.Collections.Generic.IDictionary<string, string> -> 'T (requires 'T :> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T>)
<Extension()>
Public Function WithExtraHttpHeaders(Of T As AbstractAcquireTokenParameterBuilder(Of T)) (builder As AbstractAcquireTokenParameterBuilder(Of T), extraHttpHeaders As IDictionary(Of String, String)) As T
Type Parameters
- T
Parameters
Parameter builder for a acquiring tokens.
- extraHttpHeaders
- IDictionary<String,String>
additional Http Headers to add to the token request.
Returns
T