Click or drag to resize

RequestHandler.GetAuthCredentials Method

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

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax
protected virtual bool GetAuthCredentials(
	IWebBrowser chromiumWebBrowser,
	IBrowser browser,
	string originUrl,
	bool isProxy,
	string host,
	int port,
	string realm,
	string scheme,
	IAuthCallback callback
)

Parameters

chromiumWebBrowser
Type: CefSharp.IWebBrowser
The ChromiumWebBrowser control.
browser
Type: CefSharp.IBrowser
the browser object.
originUrl
Type: System.String
is the origin making this authentication request.
isProxy
Type: System.Boolean
indicates whether the host is a proxy server.
host
Type: System.String
hostname.
port
Type: System.Int32
port number.
realm
Type: System.String
realm.
scheme
Type: System.String
scheme.
callback
Type: CefSharp.IAuthCallback
Callback interface used for asynchronous continuation of authentication requests.

Return Value

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