Click or drag to resize

IUrlRequestClientGetAuthCredentials Method

Version 130.1.90
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
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
bool GetAuthCredentials(
	bool isProxy,
	string host,
	int port,
	string realm,
	string scheme,
	IAuthCallback callback
)

Parameters

isProxy  Boolean
indicates whether the host is a proxy server.
host  String
the hostname.
port  Int32
the port number.
realm  String
realm
scheme  String
scheme
callback  IAuthCallback
is a callback for authentication information

Return Value

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