handle_authentication_failure


Description:

[ Version ( since = "3.46" ) ]
public void handle_authentication_failure (NamedParameters? credentials, Error op_error, out SourceAuthenticationResult out_auth_result, out string out_certificate_pem, out TlsCertificateFlags out_certificate_errors) throws Error

Handles authentication failure and sets appropriate value to the out_auth_result for the provided op_error and used credentials.

Converts the op_error into an appropriate error returned in the error.

Also updates connection status on the associated Source with the this.

Parameters:

this

an SoupSession

credentials

credentials used for the authentication

op_error

a Error of the authentication operation

out_auth_result

an SourceAuthenticationResult with an authentication result

out_certificate_pem

return location for a server TLS/SSL certificate in PEM format, when the last operation failed with a TLS/SSL error, or null

out_certificate_errors

return location for a TlsCertificateFlags, with certificate error flags when the operation failed with a TLS/SSL error, or null