WebView.SetHttpAuthUsernamePassword(String, String, String, String) 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.
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
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
- <xref:Android.Webkit.WebView.GetHttpAuthUsernamePassword(System.String%2c+System.String)>
- HasHttpAuthUsernamePassword
- ClearHttpAuthUsernamePassword()