emit_credentials_required


Description:

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

Emits localy (in this process only) the ESource::credentials-required signal with given parameters.

That's the difference with invoke_credentials_required, which calls the signal globally, within each client.

Parameters:

this

an Source

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




2022 vala-language.org