次の方法で共有


WebView.SetHttpAuthUsernamePassword(String, String, String, String) Method

Definition

Stores HTTP authentication credentials for a given host and realm to the WebViewDatabase instance.

[Android.Runtime.Register("setHttpAuthUsernamePassword", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetSetHttpAuthUsernamePassword_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual void SetHttpAuthUsernamePassword (string? host, string? realm, string? username, string? password);
[<Android.Runtime.Register("setHttpAuthUsernamePassword", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetSetHttpAuthUsernamePassword_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member SetHttpAuthUsernamePassword : string * string * string * string -> unit
override this.SetHttpAuthUsernamePassword : string * string * string * string -> unit

Parameters

host
String

the host to which the credentials apply

realm
String

the realm to which the credentials apply

username
String

the username

password
String

the password

Attributes

Remarks

Stores HTTP authentication credentials for a given host and realm to the WebViewDatabase instance.

This member is deprecated. Use WebViewDatabase#setHttpAuthUsernamePassword instead

Java documentation for android.webkit.WebView.setHttpAuthUsernamePassword(java.lang.String, java.lang.String, java.lang.String, java.lang.String).

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