Click or drag to resize

GetAuthCredentialsDelegate Delegate

Version 106.0.290
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: 106.0.290.0
Syntax
public delegate bool GetAuthCredentialsDelegate(
	bool isProxy,
	string host,
	int port,
	string realm,
	string scheme,
	IAuthCallback callback
)

Parameters

isProxy
Type: System.Boolean
indicates whether the host is a proxy server.
host
Type: System.String
the hostname.
port
Type: System.Int32
the port number.
realm
Type: System.String
realm
scheme
Type: System.String
scheme
callback
Type: CefSharp.IAuthCallback
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