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
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for