AuthSchemeBase.Authenticate(ICredentials, IHttpRequest) 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.
Builds an authentication-response header for the supplied credentials and request.
[Android.Runtime.Register("authenticate", "(Lorg/apache/http/auth/Credentials;Lorg/apache/http/HttpRequest;)Lorg/apache/http/Header;", "GetAuthenticate_Lorg_apache_http_auth_Credentials_Lorg_apache_http_HttpRequest_Handler")]
public abstract Org.Apache.Http.IHeader? Authenticate(Org.Apache.Http.Authentication.ICredentials? credentials, Org.Apache.Http.IHttpRequest? request);
[<Android.Runtime.Register("authenticate", "(Lorg/apache/http/auth/Credentials;Lorg/apache/http/HttpRequest;)Lorg/apache/http/Header;", "GetAuthenticate_Lorg_apache_http_auth_Credentials_Lorg_apache_http_HttpRequest_Handler")>]
abstract member Authenticate : Org.Apache.Http.Authentication.ICredentials * Org.Apache.Http.IHttpRequest -> Org.Apache.Http.IHeader
Parameters
- credentials
- ICredentials
Credentials used to answer the challenge.
- request
- IHttpRequest
HTTP request receiving the authentication-response header.
Returns
An authentication-response header.
Implements
- Attributes
Remarks
Portions of this documentation are derived from Apache HTTP Components, developed by the Apache Software Foundation and licensed under the Apache License, Version 2.0.
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.