The OpenD Programming Language

cef_urlrequest_client_t.get_auth_credentials

Called on the IO thread when the browser needs credentials from the user. |isProxy| indicates whether the host is a proxy server. |host| contains the hostname and |port| contains the port number. Return true (1) to continue the request and call cef_auth_callback_t::cont() when the authentication information is available. If the request has an associated browser/frame then returning false (0) will result in a call to GetAuthCredentials on the cef_request_handler_t associated with that browser, if any. Otherwise, returning false (0) will cancel the request immediately. This function will only be called for requests initiated from the browser process.

struct cef_urlrequest_client_t
extern (System)
int function(cef_urlrequest_client_t* self, int isProxy, const(cef_string_t)* host, int port, const(cef_string_t)* realm, const(cef_string_t)* scheme, cef_auth_callback_t* callback) nothrow get_auth_credentials;

Meta