Gdm.UserVerifier¶
- Implementations:
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
None
Signals¶
Name |
Short Description |
|---|---|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“ConversationStarted” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ConversationStarted]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“ConversationStopped” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ConversationStopped]’ is received. |
|
Signal emitted when a remote caller is invoking the ‘AnswerQuery() [gdbus-method-org-gnome-DisplayManager-UserVerifier.AnswerQuery]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘BeginVerification() [gdbus-method-org-gnome-DisplayManager-UserVerifier.BeginVerification]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘BeginVerificationForUser() [gdbus-method-org-gnome-DisplayManager-UserVerifier.BeginVerificationForUser]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘Cancel() [gdbus-method-org-gnome-DisplayManager-UserVerifier.Cancel]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘EnableExtensions() [gdbus-method-org-gnome-DisplayManager-UserVerifier.EnableExtensions]’ D-Bus method. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Info” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.Info]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“InfoQuery” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.InfoQuery]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Problem” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.Problem]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“ReauthenticationStarted” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ReauthenticationStarted]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Reset” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.Reset]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“SecretInfoQuery” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.SecretInfoQuery]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“ServiceUnavailable” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ServiceUnavailable]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“VerificationComplete” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.VerificationComplete]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“VerificationFailed” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.VerificationFailed]’ is received. |
Fields¶
None
Class Details¶
- class Gdm.UserVerifier¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface ‘org.gnome.DisplayManager.UserVerifier [gdbus-interface-org-gnome-DisplayManager-UserVerifier.top_of_page]’.
- classmethod interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo. Do not free.- Return type:
Gets a machine-readable description of the ‘org.gnome.DisplayManager.UserVerifier [gdbus-interface-org-gnome-DisplayManager-UserVerifier.top_of_page]’ D-Bus interface.
- classmethod override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass) – The class structure for aGObject.Objectderived class.property_id_begin (
int) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Objectproperties in theGdm.UserVerifierinterface for a concrete class. The properties are overridden in the order they are defined.
- call_answer_query(arg_service_name, arg_answer, cancellable, callback, *user_data)¶
- Parameters:
arg_service_name (
str) – Argument to pass with the method invocation.arg_answer (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘AnswerQuery() [gdbus-method-org-gnome-DisplayManager-UserVerifier.AnswerQuery]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callGdm.UserVerifier.call_answer_query_finish() to get the result of the operation.See
Gdm.UserVerifier.call_answer_query_sync() for the synchronous, blocking version of this method.
- call_answer_query_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toGdm.UserVerifier.call_answer_query().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.UserVerifier.call_answer_query().
- call_answer_query_sync(arg_service_name, arg_answer, cancellable)¶
- Parameters:
arg_service_name (
str) – Argument to pass with the method invocation.arg_answer (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘AnswerQuery() [gdbus-method-org-gnome-DisplayManager-UserVerifier.AnswerQuery]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.UserVerifier.call_answer_query() for the asynchronous version of this method.
- call_begin_verification(arg_service_name, cancellable, callback, *user_data)¶
- Parameters:
arg_service_name (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘BeginVerification() [gdbus-method-org-gnome-DisplayManager-UserVerifier.BeginVerification]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callGdm.UserVerifier.call_begin_verification_finish() to get the result of the operation.See
Gdm.UserVerifier.call_begin_verification_sync() for the synchronous, blocking version of this method.
- call_begin_verification_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toGdm.UserVerifier.call_begin_verification().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.UserVerifier.call_begin_verification().
- call_begin_verification_for_user(arg_service_name, arg_username, cancellable, callback, *user_data)¶
- Parameters:
arg_service_name (
str) – Argument to pass with the method invocation.arg_username (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘BeginVerificationForUser() [gdbus-method-org-gnome-DisplayManager-UserVerifier.BeginVerificationForUser]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callGdm.UserVerifier.call_begin_verification_for_user_finish() to get the result of the operation.See
Gdm.UserVerifier.call_begin_verification_for_user_sync() for the synchronous, blocking version of this method.
- call_begin_verification_for_user_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toGdm.UserVerifier.call_begin_verification_for_user().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.UserVerifier.call_begin_verification_for_user().
- call_begin_verification_for_user_sync(arg_service_name, arg_username, cancellable)¶
- Parameters:
arg_service_name (
str) – Argument to pass with the method invocation.arg_username (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘BeginVerificationForUser() [gdbus-method-org-gnome-DisplayManager-UserVerifier.BeginVerificationForUser]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.UserVerifier.call_begin_verification_for_user() for the asynchronous version of this method.
- call_begin_verification_sync(arg_service_name, cancellable)¶
- Parameters:
arg_service_name (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘BeginVerification() [gdbus-method-org-gnome-DisplayManager-UserVerifier.BeginVerification]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.UserVerifier.call_begin_verification() for the asynchronous version of this method.
- call_cancel(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘Cancel() [gdbus-method-org-gnome-DisplayManager-UserVerifier.Cancel]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callGdm.UserVerifier.call_cancel_finish() to get the result of the operation.See
Gdm.UserVerifier.call_cancel_sync() for the synchronous, blocking version of this method.
- call_cancel_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toGdm.UserVerifier.call_cancel().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.UserVerifier.call_cancel().
- call_cancel_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘Cancel() [gdbus-method-org-gnome-DisplayManager-UserVerifier.Cancel]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.UserVerifier.call_cancel() for the asynchronous version of this method.
- call_enable_extensions(arg_extensions, cancellable, callback, *user_data)¶
- Parameters:
arg_extensions (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘EnableExtensions() [gdbus-method-org-gnome-DisplayManager-UserVerifier.EnableExtensions]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callGdm.UserVerifier.call_enable_extensions_finish() to get the result of the operation.See
Gdm.UserVerifier.call_enable_extensions_sync() for the synchronous, blocking version of this method.
- call_enable_extensions_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toGdm.UserVerifier.call_enable_extensions().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.UserVerifier.call_enable_extensions().
- call_enable_extensions_sync(arg_extensions, cancellable)¶
- Parameters:
arg_extensions (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘EnableExtensions() [gdbus-method-org-gnome-DisplayManager-UserVerifier.EnableExtensions]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.UserVerifier.call_enable_extensions() for the asynchronous version of this method.
- complete_answer_query(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘AnswerQuery() [gdbus-method-org-gnome-DisplayManager-UserVerifier.AnswerQuery]’ 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.
- complete_begin_verification(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘BeginVerification() [gdbus-method-org-gnome-DisplayManager-UserVerifier.BeginVerification]’ 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.
- complete_begin_verification_for_user(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘BeginVerificationForUser() [gdbus-method-org-gnome-DisplayManager-UserVerifier.BeginVerificationForUser]’ 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.
- complete_cancel(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘Cancel() [gdbus-method-org-gnome-DisplayManager-UserVerifier.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.
- complete_enable_extensions(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘EnableExtensions() [gdbus-method-org-gnome-DisplayManager-UserVerifier.EnableExtensions]’ 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.
- emit_conversation_started(arg_service_name)¶
- Parameters:
arg_service_name (
str) – Argument to pass with the signal.
Emits the ‘“ConversationStarted” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ConversationStarted]’ D-Bus signal.
- emit_conversation_stopped(arg_service_name)¶
- Parameters:
arg_service_name (
str) – Argument to pass with the signal.
Emits the ‘“ConversationStopped” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ConversationStopped]’ D-Bus signal.
- emit_info(arg_service_name, arg_info)¶
- Parameters:
Emits the ‘“Info” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.Info]’ D-Bus signal.
- emit_info_query(arg_service_name, arg_query)¶
- Parameters:
Emits the ‘“InfoQuery” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.InfoQuery]’ D-Bus signal.
- emit_problem(arg_service_name, arg_problem)¶
- Parameters:
Emits the ‘“Problem” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.Problem]’ D-Bus signal.
- emit_reauthentication_started(arg_pid_of_caller)¶
- Parameters:
arg_pid_of_caller (
int) – Argument to pass with the signal.
Emits the ‘“ReauthenticationStarted” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ReauthenticationStarted]’ D-Bus signal.
- emit_reset()¶
Emits the ‘“Reset” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.Reset]’ D-Bus signal.
- emit_secret_info_query(arg_service_name, arg_query)¶
- Parameters:
Emits the ‘“SecretInfoQuery” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.SecretInfoQuery]’ D-Bus signal.
- Parameters:
Emits the ‘“ServiceUnavailable” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ServiceUnavailable]’ D-Bus signal.
- emit_verification_complete(arg_service_name)¶
- Parameters:
arg_service_name (
str) – Argument to pass with the signal.
Emits the ‘“VerificationComplete” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.VerificationComplete]’ D-Bus signal.
- emit_verification_failed(arg_service_name)¶
- Parameters:
arg_service_name (
str) – Argument to pass with the signal.
Emits the ‘“VerificationFailed” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.VerificationFailed]’ D-Bus signal.
- do_conversation_started(arg_service_name) virtual¶
- Parameters:
arg_service_name (
str) –
Handler for the
Gdm.UserVerifier::conversation-startedsignal.
- do_conversation_stopped(arg_service_name) virtual¶
- Parameters:
arg_service_name (
str) –
Handler for the
Gdm.UserVerifier::conversation-stoppedsignal.
- do_handle_answer_query(invocation, arg_service_name, arg_answer) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_service_name (
str) –arg_answer (
str) –
- Return type:
Handler for the
Gdm.UserVerifier::handle-answer-querysignal.
- do_handle_begin_verification(invocation, arg_service_name) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_service_name (
str) –
- Return type:
Handler for the
Gdm.UserVerifier::handle-begin-verificationsignal.
- do_handle_begin_verification_for_user(invocation, arg_service_name, arg_username) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_service_name (
str) –arg_username (
str) –
- Return type:
Handler for the
Gdm.UserVerifier::handle-begin-verification-for-usersignal.
- do_handle_cancel(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –- Return type:
Handler for the
Gdm.UserVerifier::handle-cancelsignal.
- do_handle_enable_extensions(invocation, arg_extensions) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_extensions (
str) –
- Return type:
Handler for the
Gdm.UserVerifier::handle-enable-extensionssignal.
- do_info(arg_service_name, arg_info) virtual¶
-
Handler for the
Gdm.UserVerifier::infosignal.
- do_info_query(arg_service_name, arg_query) virtual¶
-
Handler for the
Gdm.UserVerifier::info-querysignal.
- do_problem(arg_service_name, arg_problem) virtual¶
-
Handler for the
Gdm.UserVerifier::problemsignal.
- do_reauthentication_started(arg_pid_of_caller) virtual¶
- Parameters:
arg_pid_of_caller (
int) –
Handler for the
Gdm.UserVerifier::reauthentication-startedsignal.
- do_reset() virtual¶
Handler for the
Gdm.UserVerifier::resetsignal.
- do_secret_info_query(arg_service_name, arg_query) virtual¶
-
Handler for the
Gdm.UserVerifier::secret-info-querysignal.
-
Handler for the
Gdm.UserVerifier::service-unavailablesignal.
- do_verification_complete(arg_service_name) virtual¶
- Parameters:
arg_service_name (
str) –
Handler for the
Gdm.UserVerifier::verification-completesignal.
- do_verification_failed(arg_service_name) virtual¶
- Parameters:
arg_service_name (
str) –
Handler for the
Gdm.UserVerifier::verification-failedsignal.
Signal Details¶
- Gdm.UserVerifier.signals.conversation_started(user_verifier, arg_service_name)¶
- Signal Name:
conversation-started- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalarg_service_name (
str) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“ConversationStarted” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ConversationStarted]’ 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.
- Gdm.UserVerifier.signals.conversation_stopped(user_verifier, arg_service_name)¶
- Signal Name:
conversation-stopped- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalarg_service_name (
str) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“ConversationStopped” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ConversationStopped]’ 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.
- Gdm.UserVerifier.signals.handle_answer_query(user_verifier, invocation, arg_service_name, arg_answer)¶
- Signal Name:
handle-answer-query- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_service_name (
str) – Argument passed by remote caller.arg_answer (
str) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘AnswerQuery() [gdbus-method-org-gnome-DisplayManager-UserVerifier.AnswerQuery]’ 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 callGdm.UserVerifier.complete_answer_query() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- Gdm.UserVerifier.signals.handle_begin_verification(user_verifier, invocation, arg_service_name)¶
- Signal Name:
handle-begin-verification- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_service_name (
str) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘BeginVerification() [gdbus-method-org-gnome-DisplayManager-UserVerifier.BeginVerification]’ 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 callGdm.UserVerifier.complete_begin_verification() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- Gdm.UserVerifier.signals.handle_begin_verification_for_user(user_verifier, invocation, arg_service_name, arg_username)¶
- Signal Name:
handle-begin-verification-for-user- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_service_name (
str) – Argument passed by remote caller.arg_username (
str) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘BeginVerificationForUser() [gdbus-method-org-gnome-DisplayManager-UserVerifier.BeginVerificationForUser]’ 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 callGdm.UserVerifier.complete_begin_verification_for_user() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- Gdm.UserVerifier.signals.handle_cancel(user_verifier, invocation)¶
- Signal Name:
handle-cancel- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘Cancel() [gdbus-method-org-gnome-DisplayManager-UserVerifier.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 callGdm.UserVerifier.complete_cancel() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- Gdm.UserVerifier.signals.handle_enable_extensions(user_verifier, invocation, arg_extensions)¶
- Signal Name:
handle-enable-extensions- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_extensions ([
str]) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘EnableExtensions() [gdbus-method-org-gnome-DisplayManager-UserVerifier.EnableExtensions]’ 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 callGdm.UserVerifier.complete_enable_extensions() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- Gdm.UserVerifier.signals.info(user_verifier, arg_service_name, arg_info)¶
- Signal Name:
info- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalarg_service_name (
str) – Argument.arg_info (
str) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Info” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.Info]’ 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.
- Gdm.UserVerifier.signals.info_query(user_verifier, arg_service_name, arg_query)¶
- Signal Name:
info-query- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalarg_service_name (
str) – Argument.arg_query (
str) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“InfoQuery” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.InfoQuery]’ 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.
- Gdm.UserVerifier.signals.problem(user_verifier, arg_service_name, arg_problem)¶
- Signal Name:
problem- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalarg_service_name (
str) – Argument.arg_problem (
str) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Problem” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.Problem]’ 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.
- Gdm.UserVerifier.signals.reauthentication_started(user_verifier, arg_pid_of_caller)¶
- Signal Name:
reauthentication-started- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalarg_pid_of_caller (
int) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“ReauthenticationStarted” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ReauthenticationStarted]’ 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.
- Gdm.UserVerifier.signals.reset(user_verifier)¶
- Signal Name:
reset- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signal
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Reset” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.Reset]’ 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.
- Gdm.UserVerifier.signals.secret_info_query(user_verifier, arg_service_name, arg_query)¶
- Signal Name:
secret-info-query- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalarg_service_name (
str) – Argument.arg_query (
str) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“SecretInfoQuery” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.SecretInfoQuery]’ 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.
- Signal Name:
service-unavailable- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalarg_service_name (
str) – Argument.arg_message (
str) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“ServiceUnavailable” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.ServiceUnavailable]’ 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.
- Gdm.UserVerifier.signals.verification_complete(user_verifier, arg_service_name)¶
- Signal Name:
verification-complete- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalarg_service_name (
str) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“VerificationComplete” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.VerificationComplete]’ 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.
- Gdm.UserVerifier.signals.verification_failed(user_verifier, arg_service_name)¶
- Signal Name:
verification-failed- Flags:
- Parameters:
user_verifier (
Gdm.UserVerifier) – The object which received the signalarg_service_name (
str) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“VerificationFailed” [gdbus-signal-org-gnome-DisplayManager-UserVerifier.VerificationFailed]’ 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.