![]() |
![]() |
![]() |
Evolution-Data-Server Manual: Private | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Known Implementations | Signals |
EDBusAuthenticator; gboolean e_dbus_authenticator_call_ready_sync (EDBusAuthenticator *proxy
,const gchar *arg_encryption_key
,GCancellable *cancellable
,GError **error
); void e_dbus_authenticator_call_ready (EDBusAuthenticator *proxy
,const gchar *arg_encryption_key
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_authenticator_call_ready_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_authenticator_complete_ready (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
); gboolean e_dbus_authenticator_call_cancel_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
); void e_dbus_authenticator_call_cancel (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_authenticator_call_cancel_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_authenticator_complete_cancel (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
); gboolean e_dbus_authenticator_call_accepted_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
); void e_dbus_authenticator_call_accepted (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_authenticator_call_accepted_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_authenticator_complete_accepted (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
); gboolean e_dbus_authenticator_call_rejected_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
); void e_dbus_authenticator_call_rejected (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_authenticator_call_rejected_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_authenticator_complete_rejected (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
); void e_dbus_authenticator_emit_authenticate (EDBusAuthenticator *object
,const gchar *arg_encrypted_secret
); void e_dbus_authenticator_emit_dismissed (EDBusAuthenticator *object
); GDBusInterfaceInfo * e_dbus_authenticator_interface_info (void
); guint e_dbus_authenticator_override_properties (GObjectClass *klass
,guint property_id_begin
);
EDBusAuthenticator is implemented by EDBusAuthenticatorProxy and EDBusAuthenticatorSkeleton.
"authenticate" :Run Last
"dismissed" :Run Last
"handle-accepted" :Run Last
"handle-cancel" :Run Last
"handle-ready" :Run Last
"handle-rejected" :Run Last
typedef struct _EDBusAuthenticator EDBusAuthenticator;
Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-gnome-evolution-dataserver-Authenticator.top_of_page">org.gnome.evolution.dataserver.Authenticator</link>.
gboolean e_dbus_authenticator_call_ready_sync (EDBusAuthenticator *proxy
,const gchar *arg_encryption_key
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Ready">Ready()
</link> D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_authenticator_call_ready()
for the asynchronous version of this method.
|
A EDBusAuthenticatorProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_call_ready (EDBusAuthenticator *proxy
,const gchar *arg_encryption_key
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Ready">Ready()
</link> D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
You can then call e_dbus_authenticator_call_ready_finish()
to get the result of the operation.
See e_dbus_authenticator_call_ready_sync()
for the synchronous, blocking version of this method.
|
A EDBusAuthenticatorProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean e_dbus_authenticator_call_ready_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_authenticator_call_ready()
.
|
A EDBusAuthenticatorProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_authenticator_call_ready() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_complete_ready (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Ready">Ready()
</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. [transfer full] |
gboolean e_dbus_authenticator_call_cancel_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Cancel">Cancel()
</link> D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_authenticator_call_cancel()
for the asynchronous version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_call_cancel (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Cancel">Cancel()
</link> D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
You can then call e_dbus_authenticator_call_cancel_finish()
to get the result of the operation.
See e_dbus_authenticator_call_cancel_sync()
for the synchronous, blocking version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean e_dbus_authenticator_call_cancel_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_authenticator_call_cancel()
.
|
A EDBusAuthenticatorProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_authenticator_call_cancel() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_complete_cancel (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Cancel">Cancel()
</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. [transfer full] |
gboolean e_dbus_authenticator_call_accepted_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Accepted">Accepted()
</link> D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_authenticator_call_accepted()
for the asynchronous version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_call_accepted (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Accepted">Accepted()
</link> D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
You can then call e_dbus_authenticator_call_accepted_finish()
to get the result of the operation.
See e_dbus_authenticator_call_accepted_sync()
for the synchronous, blocking version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean e_dbus_authenticator_call_accepted_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_authenticator_call_accepted()
.
|
A EDBusAuthenticatorProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_authenticator_call_accepted() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_complete_accepted (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Accepted">Accepted()
</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. [transfer full] |
gboolean e_dbus_authenticator_call_rejected_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Rejected">Rejected()
</link> D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_authenticator_call_rejected()
for the asynchronous version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_call_rejected (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Rejected">Rejected()
</link> D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
You can then call e_dbus_authenticator_call_rejected_finish()
to get the result of the operation.
See e_dbus_authenticator_call_rejected_sync()
for the synchronous, blocking version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean e_dbus_authenticator_call_rejected_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_authenticator_call_rejected()
.
|
A EDBusAuthenticatorProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_authenticator_call_rejected() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_complete_rejected (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Rejected">Rejected()
</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. [transfer full] |
void e_dbus_authenticator_emit_authenticate (EDBusAuthenticator *object
,const gchar *arg_encrypted_secret
);
Emits the <link linkend="gdbus-signal-org-gnome-evolution-dataserver-Authenticator.Authenticate">"Authenticate"</link> D-Bus signal.
|
A EDBusAuthenticator. |
|
Argument to pass with the signal. |
void e_dbus_authenticator_emit_dismissed (EDBusAuthenticator *object
);
Emits the <link linkend="gdbus-signal-org-gnome-evolution-dataserver-Authenticator.Dismissed">"Dismissed"</link> D-Bus signal.
|
A EDBusAuthenticator. |
GDBusInterfaceInfo * e_dbus_authenticator_interface_info
(void
);
Gets a machine-readable description of the <link linkend="gdbus-interface-org-gnome-evolution-dataserver-Authenticator.top_of_page">org.gnome.evolution.dataserver.Authenticator</link> D-Bus interface.
Returns : |
A GDBusInterfaceInfo. Do not free. [transfer none] |
guint e_dbus_authenticator_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the EDBusAuthenticator interface for a concrete class. The properties are overridden in the order they are defined.
|
The class structure for a GObject<!-- -->-derived class. |
|
The property id to assign to the first overridden property. |
Returns : |
The last property id. |
"authenticate"
signalvoid user_function (EDBusAuthenticator *object,
gchar *arg_encrypted_secret,
gpointer user_data) : Run Last
On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-gnome-evolution-dataserver-Authenticator.Authenticate">"Authenticate"</link> is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name()
to make the object emit the D-Bus signal.
|
A EDBusAuthenticator. |
|
Argument. |
|
user data set when the signal handler was connected. |
"dismissed"
signalvoid user_function (EDBusAuthenticator *object,
gpointer user_data) : Run Last
On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-gnome-evolution-dataserver-Authenticator.Dismissed">"Dismissed"</link> is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name()
to make the object emit the D-Bus signal.
|
A EDBusAuthenticator. |
|
user data set when the signal handler was connected. |
"handle-accepted"
signalgboolean user_function (EDBusAuthenticator *object,
GDBusMethodInvocation *invocation,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Accepted">Accepted()
</link> D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_authenticator_complete_accepted()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-cancel"
signalgboolean user_function (EDBusAuthenticator *object,
GDBusMethodInvocation *invocation,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Cancel">Cancel()
</link> D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_authenticator_complete_cancel()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-ready"
signalgboolean user_function (EDBusAuthenticator *object,
GDBusMethodInvocation *invocation,
gchar *arg_encryption_key,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Ready">Ready()
</link> D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_authenticator_complete_ready()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-rejected"
signalgboolean user_function (EDBusAuthenticator *object,
GDBusMethodInvocation *invocation,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-gnome-evolution-dataserver-Authenticator.Rejected">Rejected()
</link> D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_authenticator_complete_rejected()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |