IAuthenticationHandler.IsAuthenticationRequested Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the HTTP response requires user authentication.
[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
Parameters
- response
- IHttpResponse
The HTTP response to examine for an authentication request.
- context
- IHttpContext
The context for the HTTP request execution.
Returns
true if user authentication is required; otherwise, false.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.