Signal

EDataServerSourceRegistry::credentials-required

Declaration

void
credentials_required (
  ESourceRegistry* self,
  ESource* source,
  ESourceCredentialsReason reason,
  gchar* certificate_pem,
  GTlsCertificateFlags certificate_errors,
  GError* op_error,
  gpointer user_data
)

Description [src]

The ::credentials-required signal is emitted when the source requires credentials to connect to (possibly remote) data store. The credentials can be passed to the source using e_source_invoke_authenticate() function. The signal is emitted in the thread-default main context from the time the registry was created.

Note: This is just a proxy signal for the ESource::credentials-required signal.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Signal emission will restart instead of recursing

Parameters

source

Type: ESource

The ESource that requires credentials.

The data is owned by the caller of the function.
reason

Type: ESourceCredentialsReason

An ESourceCredentialsReason indicating why the credentials are requested.

certificate_pem

Type: gchar*

PEM-encoded secure connection certificate for failed SSL checks.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
certificate_errors

Type: GTlsCertificateFlags

What failed with the SSL certificate.

op_error

Type: GError

A GError with a description of the error, or NULL.

The data is owned by the caller of the function.