DefaultRequestHandlerGetAuthCredentials Method |
Version 75.1.140
Called when the browser needs credentials from the user.
Namespace:
CefSharp.Handler
Assembly:
CefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.0)
Syntax public virtual bool GetAuthCredentials(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
string originUrl,
bool isProxy,
string host,
int port,
string realm,
string scheme,
IAuthCallback callback
)
public:
virtual bool GetAuthCredentials(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
String^ originUrl,
bool isProxy,
String^ host,
int port,
String^ realm,
String^ scheme,
IAuthCallback^ callback
)
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
The ChromiumWebBrowser control - browser
- Type: CefSharpIBrowser
the browser object - originUrl
- Type: SystemString
is the origin making this authentication request - 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:
BooleanReturn true to continue the request and call
Continue(String, String) when the authentication information is available. Return false to cancel the request.
Implements
IRequestHandlerGetAuthCredentials(IWebBrowser, IBrowser, String, Boolean, String, Int32, String, String, IAuthCallback)See Also