getAuthCredentials

abstract fun getAuthCredentials(browser: CefBrowser, origin_url: String, isProxy: Boolean, host: String, port: Int, realm: String, scheme: String, callback: CefAuthCallback): Boolean

Called on the IO thread when the browser needs credentials from the user.

Return

True to continue the request (callback must be executed) or false to cancel.

Parameters

browser

The corresponding browser.

origin_url

The origin making this authentication request.

isProxy

True if the host is a proxy server.

host

Hostname.

port

Port number.

realm

Realm of the request.

scheme

Scheme of the request.

callback

Call CefAuthCallback.Continue() when the authentication information is available.