WebKit2.AuthenticationRequest.prototype.is_for_proxy

function is_for_proxy(): Boolean {
    // Gjs wrapper for webkit_authentication_request_is_for_proxy()
}
  

Determine whether the authentication challenge is associated with a proxy server rather than an "origin" server.

Since 2.2

Returns

true if authentication is for a proxy or false otherwise.