Share via


IAndroidAuthenticationModule.PreAuthenticate Method

Definition

Pre-authenticate using the specified credentials.

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

Parameters

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