Share via


IAndroidAuthenticationModule.Authenticate Method

Definition

Authenticate using the specified challenge, request and credentials. This is currently not used by AndroidMessageHandler since the requests aren't restarted automatically, but it can be used in the future implementations of AndroidMessageHandler

public System.Net.Authorization Authenticate(string challenge, Java.Net.HttpURLConnection request, System.Net.ICredentials credentials);
abstract member Authenticate : string * Java.Net.HttpURLConnection * System.Net.ICredentials -> System.Net.Authorization

Parameters

challenge
String

Challenge.

request
HttpURLConnection

Request.

credentials
ICredentials

Credentials.

Returns

Authorization instance which contains the value of the response header to authorize the connection

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.

Applies to