Idioma

AbstractApplicationBuilder<T>.WithExtraQueryParameters Método

Definição

Sobrecargas

Name Descrição
WithExtraQueryParameters(IDictionary<String,String>)
Obsoleto.

Define parâmetros extra de consulta para a cadeia de consulta no pedido de autenticação HTTP

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

Define Parâmetros Extra de Consulta para a cadeia de consulta no pedido de autenticação HTTP com controlo sobre quais os parâmetros incluídos na chave de cache

WithExtraQueryParameters(String)
Obsoleto.

Define parâmetros extra de consulta para a cadeia de consulta no pedido de autenticação HTTP

WithExtraQueryParameters(IDictionary<String,String>)

Atenção

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.

Define parâmetros extra de consulta para a cadeia de consulta no pedido de autenticação 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

Parâmetros

extraQueryParameters
IDictionary<String,String>

Este parâmetro será adicionado tal qual à cadeia de consulta no pedido de autenticação HTTP à autoridade como uma cadeia de segmentos do formulário key=value separados por um carácter ampersand. O parâmetro pode ser nulo.

Devoluções

T

O construtor para encadear o . Com métodos

Atributos

Aplica-se a

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

Define Parâmetros Extra de Consulta para a cadeia de consulta no pedido de autenticação HTTP com controlo sobre quais os parâmetros incluídos na chave de 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

Parâmetros

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

Este parâmetro será adicionado tal qual à cadeia de consulta no pedido de autenticação HTTP à autoridade, e fundido com os adicionados à API WithExtraQueryParameters ao nível do pedido. Cada entrada do dicionário mapeia um nome de parâmetro para uma tupla contendo: - Valor: O valor do parâmetro que será adicionado à cadeia de consulta - IncludeInCacheKey: Se este parâmetro deve ser incluído no cálculo da chave de cache do token. Para ajudar a garantir que o token correto é devolvido da cache, o IncludeInCacheKey deve ser verdadeiro se o parâmetro afetar o conteúdo ou a validade do token (por exemplo, reivindicações ou parâmetros específicos de recursos). O parâmetro pode ser nulo.

Devoluções

T

O construtor para encadear. Com métodos.

Aplica-se a

WithExtraQueryParameters(String)

Atenção

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.

Define parâmetros extra de consulta para a cadeia de consulta no pedido de autenticação 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

Parâmetros

extraQueryParameters
String

Este parâmetro será adicionado tal qual à cadeia de consulta no pedido de autenticação HTTP à autoridade. A cadeia precisa de estar devidamente codificada por URL e pronta para ser enviada como uma sequência de segmentos da forma key=value separados por um carácter ampersand.

Devoluções

T
Atributos

Aplica-se a