Click or drag to resize

DefaultRequestHandlerGetAuthCredentials Method

Version 73.1.130
Called when the browser needs credentials from the user.

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 73.1.130.0 (73.1.130.0)
Syntax
public virtual bool GetAuthCredentials(
	IWebBrowser browserControl,
	IBrowser browser,
	IFrame frame,
	bool isProxy,
	string host,
	int port,
	string realm,
	string scheme,
	IAuthCallback callback
)

Parameters

browserControl
Type: CefSharpIWebBrowser
The ChromiumWebBrowser control
browser
Type: CefSharpIBrowser
the browser object
frame
Type: CefSharpIFrame
The frame object that needs credentials (This will contain the URL that is being requested.)
isProxy
Type: SystemBoolean
indicates whether the host is a proxy server
host
Type: SystemString
hostname
port
Type: SystemInt32
port number
realm
Type: SystemString
realm
scheme
Type: SystemString
scheme
callback
Type: CefSharpIAuthCallback
Callback interface used for asynchronous continuation of authentication requests.

Return Value

Type: Boolean
Return true to continue the request and call CefAuthCallback::Continue() when the authentication information is available. Return false to cancel the request.

Implements

IRequestHandlerGetAuthCredentials(IWebBrowser, IBrowser, IFrame, Boolean, String, Int32, String, String, IAuthCallback)
See Also