RequestHandlerGetAuthCredentials Method |
Version 130.1.90
Called when the browser needs credentials from the user.
Namespace: CefSharp.HandlerAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax protected virtual bool GetAuthCredentials(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
string originUrl,
bool isProxy,
string host,
int port,
string realm,
string scheme,
IAuthCallback callback
)
protected:
virtual bool GetAuthCredentials(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
String^ originUrl,
bool isProxy,
String^ host,
int port,
String^ realm,
String^ scheme,
IAuthCallback^ callback
)
Parameters
- chromiumWebBrowser IWebBrowser
- The ChromiumWebBrowser control.
- browser IBrowser
- the browser object.
- originUrl String
- is the origin making this authentication request.
- isProxy Boolean
- indicates whether the host is a proxy server.
- host String
- hostname.
- port Int32
- port number.
- realm String
- realm.
- scheme String
- scheme.
- callback IAuthCallback
- Callback interface used for asynchronous continuation of authentication requests.
Return Value
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