WebViewClient.OnReceivedHttpAuthRequest(WebView, HttpAuthHandler, 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.
Notifies the host application that the WebView received an HTTP authentication request.
[Android.Runtime.Register("onReceivedHttpAuthRequest", "(Landroid/webkit/WebView;Landroid/webkit/HttpAuthHandler;Ljava/lang/String;Ljava/lang/String;)V", "GetOnReceivedHttpAuthRequest_Landroid_webkit_WebView_Landroid_webkit_HttpAuthHandler_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual void OnReceivedHttpAuthRequest (Android.Webkit.WebView? view, Android.Webkit.HttpAuthHandler? handler, string? host, string? realm);
[<Android.Runtime.Register("onReceivedHttpAuthRequest", "(Landroid/webkit/WebView;Landroid/webkit/HttpAuthHandler;Ljava/lang/String;Ljava/lang/String;)V", "GetOnReceivedHttpAuthRequest_Landroid_webkit_WebView_Landroid_webkit_HttpAuthHandler_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member OnReceivedHttpAuthRequest : Android.Webkit.WebView * Android.Webkit.HttpAuthHandler * string * string -> unit
override this.OnReceivedHttpAuthRequest : Android.Webkit.WebView * Android.Webkit.HttpAuthHandler * string * string -> unit
Parameters
- view
- WebView
the WebView that is initiating the callback
- handler
- HttpAuthHandler
the HttpAuthHandler used to set the WebView's response
- host
- String
the host requiring authentication
- realm
- String
the realm for which authentication is required
- 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
- <xref:Android.Webkit.WebView.GetHttpAuthUsernamePassword(System.String%2c+System.String)>