WebKit2.AuthenticationRequest.prototype.get_proposed_credential

function get_proposed_credential(): WebKit2.Credential {
    // Gjs wrapper for webkit_authentication_request_get_proposed_credential()
}
  

Get the WebKit2.Credential of the proposed authentication challenge that was stored from a previous session. The client can use this directly for authentication or construct their own WebKit2.Credential.

Since 2.2

Returns

A WebKit2.Credential encapsulating credential details or null if there is no stored credential.