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 |
| Signal emission will restart instead of recursing |
Parameters
source-
Type:
ESourceThe
ESourcethat requires credentials.The data is owned by the caller of the function. reason-
Type:
ESourceCredentialsReasonAn
ESourceCredentialsReasonindicating 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:
GTlsCertificateFlagsWhat failed with the SSL certificate.
op_error-
Type:
GErrorA
GErrorwith a description of the error, orNULL.The data is owned by the caller of the function.