Lenguaje

IAuthenticationHandler.SelectScheme Método

Definición

Selecciona un desafío y crea un esquema de autenticación que puede procesarlo.

[Android.Runtime.Register("selectScheme", "(Ljava/util/Map;Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/auth/AuthScheme;", "GetSelectScheme_Ljava_util_Map_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler:Org.Apache.Http.Client.IAuthenticationHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.Authentication.IAuthScheme? SelectScheme(System.Collections.Generic.IDictionary<string,Org.Apache.Http.IHeader>? challenges, Org.Apache.Http.IHttpResponse? response, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("selectScheme", "(Ljava/util/Map;Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/auth/AuthScheme;", "GetSelectScheme_Ljava_util_Map_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler:Org.Apache.Http.Client.IAuthenticationHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SelectScheme : System.Collections.Generic.IDictionary<string, Org.Apache.Http.IHeader> * Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.Authentication.IAuthScheme

Parámetros

challenges
IDictionary<String,IHeader>

Los encabezados de desafío disponibles, con clave por el nombre del esquema de autenticación.

response
IHttpResponse

Respuesta HTTP que contiene los desafíos.

context
IHttpContext

Contexto para la ejecución de la solicitud HTTP.

Devoluciones

Esquema de autenticación que se va a usar para la autenticación.

Atributos

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a