AbstractApplicationBuilder<T>.WithExtraQueryParameters Metodo

Definizione

Overload

Nome Descrizione
WithExtraQueryParameters(IDictionary<String,String>)
Obsoleti.

Imposta parametri di query aggiuntivi per la stringa di query nella richiesta di autenticazione HTTP

WithExtraQueryParameters(IDictionary<String,ValueTuple<String,Boolean>>)

Imposta parametri di query aggiuntivi per la stringa di query nella richiesta di autenticazione HTTP con il controllo sui parametri inclusi nella chiave della cache

WithExtraQueryParameters(String)
Obsoleti.

Imposta parametri di query aggiuntivi per la stringa di query nella richiesta di autenticazione HTTP

WithExtraQueryParameters(IDictionary<String,String>)

Attenzione

This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.

Imposta parametri di query aggiuntivi per la stringa di query nella richiesta di autenticazione HTTP

[System.Obsolete("This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.", false)]
public T WithExtraQueryParameters(System.Collections.Generic.IDictionary<string,string> extraQueryParameters);
[<System.Obsolete("This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.", false)>]
member this.WithExtraQueryParameters : System.Collections.Generic.IDictionary<string, string> -> 'T
Public Function WithExtraQueryParameters (extraQueryParameters As IDictionary(Of String, String)) As T

Parametri

extraQueryParameters
IDictionary<String,String>

Questo parametro verrà aggiunto così com'è alla stringa di query nella richiesta di autenticazione HTTP all'autorità come stringa di segmenti del modulo key=value separati da un carattere e commerciale. Il parametro può essere Null.

Valori restituiti

T

Generatore per concatenare l'oggetto . Con i metodi

Attributi

Si applica a

WithExtraQueryParameters(IDictionary<String,ValueTuple<String,Boolean>>)

Imposta parametri di query aggiuntivi per la stringa di query nella richiesta di autenticazione HTTP con il controllo sui parametri inclusi nella chiave della cache

public T WithExtraQueryParameters(System.Collections.Generic.IDictionary<string,(string Value, bool IncludeInCacheKey)> extraQueryParameters);
member this.WithExtraQueryParameters : System.Collections.Generic.IDictionary<string, ValueTuple<string, bool>> -> 'T
Public Function WithExtraQueryParameters (extraQueryParameters As IDictionary(Of String, ValueTuple(Of String, Boolean))) As T

Parametri

extraQueryParameters
IDictionary<String,ValueTuple<String,Boolean>>

Questo parametro verrà aggiunto così come è alla stringa di query nella richiesta di autenticazione HTTP all'autorità e uniti a quelli aggiunti all'API WithExtraQueryParameters a livello di richiesta. Ogni voce del dizionario esegue il mapping di un nome di parametro a una tupla contenente: - Valore: valore del parametro che verrà aggiunto alla stringa di query - IncludeInCacheKey: indica se questo parametro deve essere incluso durante il calcolo della chiave della cache del token. Per garantire che il token corretto venga restituito dalla cache, IncludeInCacheKey deve essere true se il parametro influisce sul contenuto o sulla validità del token (ad esempio, attestazioni o parametri specifici della risorsa). Il parametro può essere Null.

Valori restituiti

T

Generatore da concatenare . Con i metodi .

Si applica a

WithExtraQueryParameters(String)

Attenzione

This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.

Imposta parametri di query aggiuntivi per la stringa di query nella richiesta di autenticazione HTTP

[System.Obsolete("This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.", false)]
public T WithExtraQueryParameters(string extraQueryParameters);
[<System.Obsolete("This method is deprecated. Please use the WithExtraQueryParameters(IDictionary<string, (string value, bool includeInCacheKey)>) method instead, which provides control over which parameters are included in the cache key.", false)>]
member this.WithExtraQueryParameters : string -> 'T
Public Function WithExtraQueryParameters (extraQueryParameters As String) As T

Parametri

extraQueryParameters
String

Questo parametro verrà aggiunto così come è alla stringa di query nella richiesta di autenticazione HTTP all'autorità. La stringa deve essere codificata correttamente con URL e pronta per l'invio come stringa di segmenti del modulo key=value separati da un carattere e commerciale.

Valori restituiti

T
Attributi

Si applica a