[ Version ( since = "3.16" ) ]
public async bool credentials_required (SourceCredentialsReason reason, string certificate_pem, TlsCertificateFlags certificate_errors, Error? op_error, Cancellable? cancellable) throws Error
Asynchronously calls the credentials_required_sync on the this, to inform clients that credentials are required.
When the operation is finished, callback will be called. You can then call credentials_required.end
to get the result of the operation.
| this |
an Backend |
| reason |
an SourceCredentialsReason, why the credentials are required |
| certificate_pem |
PEM-encoded secure connection certificate, or an empty string |
| certificate_errors |
a bit-or of TlsCertificateFlags for secure connection certificate |
| op_error |
a Error with a description of the previous credentials error, or null |
| cancellable |
optional Cancellable object, or null |
| callback |
a TaskReadyCallback to call when the request is satisfied |
| user_data |
data to pass to the callback function |