schedule_credentials_required


Description:

[ Version ( since = "3.16" ) ]
public void schedule_credentials_required (SourceCredentialsReason reason, string certificate_pem, TlsCertificateFlags certificate_errors, Error? op_error, Cancellable? cancellable, string? who_calls)

Asynchronously invokes credentials_required, but installs its own callback which only prints a runtime warning on the console when the call fails.

The who_calls is a prefix of the console message. This is useful when the caller just wants to start the operation without having actual place where to show the operation result.

Parameters:

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

who_calls

an identification who calls this