| Top |
GInterface ╰── EDBusAuthenticator GObject ├── GDBusInterfaceSkeleton │ ╰── EDBusAuthenticatorSkeleton ╰── GDBusProxy ╰── EDBusAuthenticatorProxy
EDBusAuthenticatorProxy implements GDBusInterface, GInitable, GAsyncInitable and EDBusAuthenticator.
EDBusAuthenticatorSkeleton implements GDBusInterface and EDBusAuthenticator.
EDBusAuthenticator is implemented by EDBusAuthenticatorProxy and EDBusAuthenticatorSkeleton.
gboolean
e_dbus_authenticator_get_without_password
(EDBusAuthenticator *object);
Gets the value of the "WithoutPassword" D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
[skip]
void e_dbus_authenticator_set_without_password (EDBusAuthenticator *object,gboolean value);
Sets the "WithoutPassword" D-Bus property to value
.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean e_dbus_authenticator_call_ready_sync (EDBusAuthenticator *proxy,const gchar *arg_encryption_key,GCancellable *cancellable,GError **error);
Synchronously invokes the Ready() 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.
proxy |
||
arg_encryption_key |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void e_dbus_authenticator_call_ready (EDBusAuthenticator *proxy,const gchar *arg_encryption_key,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Ready() D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop 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.
proxy |
||
arg_encryption_key |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean e_dbus_authenticator_call_ready_finish (EDBusAuthenticator *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with e_dbus_authenticator_call_ready().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
void e_dbus_authenticator_complete_ready (EDBusAuthenticator *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the Ready() 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.
gboolean e_dbus_authenticator_call_cancel_sync (EDBusAuthenticator *proxy,GCancellable *cancellable,GError **error);
Synchronously invokes the Cancel() 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.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void e_dbus_authenticator_call_cancel (EDBusAuthenticator *proxy,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Cancel() D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop 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.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean e_dbus_authenticator_call_cancel_finish (EDBusAuthenticator *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with e_dbus_authenticator_call_cancel().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
void e_dbus_authenticator_complete_cancel (EDBusAuthenticator *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the Cancel() 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.
gboolean e_dbus_authenticator_call_accepted_sync (EDBusAuthenticator *proxy,GCancellable *cancellable,GError **error);
Synchronously invokes the Accepted() 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.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void e_dbus_authenticator_call_accepted (EDBusAuthenticator *proxy,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Accepted() D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop 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.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean e_dbus_authenticator_call_accepted_finish (EDBusAuthenticator *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with e_dbus_authenticator_call_accepted().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
void e_dbus_authenticator_complete_accepted (EDBusAuthenticator *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the Accepted() 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.
gboolean e_dbus_authenticator_call_rejected_sync (EDBusAuthenticator *proxy,GCancellable *cancellable,GError **error);
Synchronously invokes the Rejected() 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.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void e_dbus_authenticator_call_rejected (EDBusAuthenticator *proxy,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Rejected() D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop 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.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean e_dbus_authenticator_call_rejected_finish (EDBusAuthenticator *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with e_dbus_authenticator_call_rejected().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
void e_dbus_authenticator_complete_rejected (EDBusAuthenticator *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the Rejected() 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.
void e_dbus_authenticator_emit_authenticate (EDBusAuthenticator *object,const gchar *arg_encrypted_secret);
Emits the "Authenticate" D-Bus signal.
void
e_dbus_authenticator_emit_dismissed (EDBusAuthenticator *object);
Emits the "Dismissed" D-Bus signal.
void e_dbus_authenticator_emit_server_error (EDBusAuthenticator *object,const gchar *arg_name,const gchar *arg_message);
Emits the "ServerError" D-Bus signal.
GDBusInterfaceInfo *
e_dbus_authenticator_interface_info (void);
Gets a machine-readable description of the org.gnome.evolution.dataserver.Authenticator D-Bus interface.
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.
klass |
The class structure for a GObject-derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
EDBusAuthenticator * e_dbus_authenticator_proxy_new_sync (GDBusConnection *connection,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GError **error);
Synchronously creates a proxy for the D-Bus interface org.gnome.evolution.dataserver.Authenticator. See g_dbus_proxy_new_sync() for more details.
The calling thread is blocked until a reply is received.
See e_dbus_authenticator_proxy_new() for the asynchronous version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[allow-none] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
The constructed proxy object or NULL if error
is set.
[transfer full][type EDBusAuthenticatorProxy]
void e_dbus_authenticator_proxy_new (GDBusConnection *connection,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously creates a proxy for the D-Bus interface org.gnome.evolution.dataserver.Authenticator. See g_dbus_proxy_new() for more details.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_authenticator_proxy_new_finish() to get the result of the operation.
See e_dbus_authenticator_proxy_new_sync() for the synchronous, blocking version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[allow-none] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
EDBusAuthenticator * e_dbus_authenticator_proxy_new_finish (GAsyncResult *res,GError **error);
Finishes an operation started with e_dbus_authenticator_proxy_new().
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL if error
is set.
[transfer full][type EDBusAuthenticatorProxy]
EDBusAuthenticator * e_dbus_authenticator_proxy_new_for_bus_sync (GBusType bus_type,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GError **error);
Like e_dbus_authenticator_proxy_new_sync() but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See e_dbus_authenticator_proxy_new_for_bus() for the asynchronous version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
The constructed proxy object or NULL if error
is set.
[transfer full][type EDBusAuthenticatorProxy]
void e_dbus_authenticator_proxy_new_for_bus (GBusType bus_type,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Like e_dbus_authenticator_proxy_new() but takes a GBusType instead of a GDBusConnection.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_authenticator_proxy_new_for_bus_finish() to get the result of the operation.
See e_dbus_authenticator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
EDBusAuthenticator * e_dbus_authenticator_proxy_new_for_bus_finish (GAsyncResult *res,GError **error);
Finishes an operation started with e_dbus_authenticator_proxy_new_for_bus().
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL if error
is set.
[transfer full][type EDBusAuthenticatorProxy]
EDBusAuthenticator *
e_dbus_authenticator_skeleton_new (void);
Creates a skeleton object for the D-Bus interface org.gnome.evolution.dataserver.Authenticator.
typedef struct _EDBusAuthenticator EDBusAuthenticator;
Abstract interface type for the D-Bus interface org.gnome.evolution.dataserver.Authenticator.
struct EDBusAuthenticatorProxy;
The EDBusAuthenticatorProxy structure contains only private data and should only be accessed using the provided API.
struct EDBusAuthenticatorSkeleton;
The EDBusAuthenticatorSkeleton structure contains only private data and should only be accessed using the provided API.
“without-password” property“without-password” gboolean
Represents the D-Bus property "WithoutPassword".
Since the D-Bus property for this GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
Flags: Read / Write
Default value: FALSE
“authenticate” signalvoid user_function (EDBusAuthenticator *object, gchar *arg_encrypted_secret, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "Authenticate" 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.
object |
||
arg_encrypted_secret |
Argument. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“dismissed” signalvoid user_function (EDBusAuthenticator *object, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "Dismissed" 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.
Flags: Run Last
“handle-accepted” signalgboolean user_function (EDBusAuthenticator *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Accepted() 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.
Flags: Run Last
“handle-cancel” signalgboolean user_function (EDBusAuthenticator *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Cancel() 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.
Flags: Run Last
“handle-ready” signalgboolean user_function (EDBusAuthenticator *object, GDBusMethodInvocation *invocation, gchar *arg_encryption_key, gpointer user_data)
Signal emitted when a remote caller is invoking the Ready() 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.
object |
||
invocation |
||
arg_encryption_key |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-rejected” signalgboolean user_function (EDBusAuthenticator *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Rejected() 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.
Flags: Run Last
“server-error” signalvoid user_function (EDBusAuthenticator *object, gchar *arg_name, gchar *arg_message, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "ServerError" 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.
object |
||
arg_name |
Argument. |
|
arg_message |
Argument. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last