IAuthenticationHandler.SelectScheme Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Sélectionne un défi et crée un schéma d’authentification qui peut le traiter.
[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
Paramètres
- challenges
- IDictionary<String,IHeader>
En-têtes de défi disponibles, clé par nom du schéma d’authentification.
- response
- IHttpResponse
Réponse HTTP qui contient les défis.
- context
- IHttpContext
Contexte de l’exécution de la requête HTTP.
Retours
Schéma d’authentification à utiliser pour l’authentification.
- Attributs
Remarques
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.