WebView.GetHttpAuthUsernamePassword(String, String) Method

Definition

Caution

deprecated

Retrieves HTTP authentication credentials for a given host and realm.

[Android.Runtime.Register("getHttpAuthUsernamePassword", "(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;", "GetGetHttpAuthUsernamePassword_Ljava_lang_String_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual string[]? GetHttpAuthUsernamePassword (string? host, string? realm);
[<Android.Runtime.Register("getHttpAuthUsernamePassword", "(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;", "GetGetHttpAuthUsernamePassword_Ljava_lang_String_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member GetHttpAuthUsernamePassword : string * string -> string[]
override this.GetHttpAuthUsernamePassword : string * string -> string[]

Parameters

host
String

the host to which the credentials apply

realm
String

the realm to which the credentials apply

Returns

String[]
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.

Applies to

See also