GetAuthCredentialsDelegate Delegate |
Version 91.1.160
Called on the CEF IO thread when the browser needs credentials from the user.
This method will only be called for requests initiated from the browser process.
Namespace:
CefSharp.Fluent
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 91.1.160.0
Syntax public delegate bool GetAuthCredentialsDelegate(
bool isProxy,
string host,
int port,
string realm,
string scheme,
IAuthCallback callback
)
public delegate bool GetAuthCredentialsDelegate(
bool isProxy,
String^ host,
int port,
String^ realm,
String^ scheme,
IAuthCallback^ callback
)
Parameters
- isProxy
- Type: SystemBoolean
indicates whether the host is a proxy server. - host
- Type: SystemString
the hostname. - port
- Type: SystemInt32
the port number. - realm
- Type: SystemString
realm - scheme
- Type: SystemString
scheme - callback
- Type: CefSharpIAuthCallback
is a callback for authentication information
Return Value
Type:
Boolean
Return true to continue the request and call
Continue(String, String) when the authentication information is available.
If the request has an associated browser/frame then returning false will result in a call to
GetAuthCredentials(IWebBrowser, IBrowser, String, Boolean, String, Int32, String, String, IAuthCallback)
on the
IRequestHandler associated with that browser, if any.
Otherwise, returning false will cancel the request immediately.
See Also