AcquireTokenParameterBuilderExtensions.WithExtraHttpHeaders<T> Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Varning
This method has been moved to the Microsoft.Identity.Client.Extensibility namespace
Lägger till ytterligare Http-huvuden i tokenbegäran.
[System.Obsolete("This method has been moved to the Microsoft.Identity.Client.Extensibility namespace", false)]
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>;
[<System.Obsolete("This method has been moved to the Microsoft.Identity.Client.Extensibility namespace", false)>]
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
Typparametrar
- T
Parametrar
Parameter builder för en anskaffningstoken.
- extraHttpHeaders
- IDictionary<String,String>
ytterligare Http-huvuden att lägga till i tokenbegäran.
Returer
- Attribut