Sprache

IAuthenticationHandler.IsAuthenticationRequested Methode

Definition

Bestimmt, ob die HTTP-Antwort eine Benutzerauthentifizierung erfordert.

[Android.Runtime.Register("isAuthenticationRequested", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Z", "GetIsAuthenticationRequested_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 bool IsAuthenticationRequested(Org.Apache.Http.IHttpResponse? response, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("isAuthenticationRequested", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Z", "GetIsAuthenticationRequested_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 IsAuthenticationRequested : Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> bool

Parameter

response
IHttpResponse

Die HTTP-Antwort, die auf eine Authentifizierungsanforderung überprüft werden soll.

context
IHttpContext

Der Kontext für die HTTP-Anforderungsausführung.

Gibt zurück

truewenn die Benutzerauthentifizierung erforderlich ist; andernfalls . false

Attribute

Hinweise

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die vom Android Open Source-Projekt erstellt und freigegeben werden und gemäß den in der Creative Commons 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: