Synchronously lets the clients know that the backned requires credentials to be properly opened.
It's a proxy function for invoke_credentials_required_sync, where can be found more information about actual parameters meaning.
The provided credentials are received through authenticate_sync method asynchronously.
If an error occurs, the function sets throws and returns false.
| 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 |
|
true on success, false on error |