Gdm.Client¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | error_quark() | 
| class | new() | 
| get_chooser(cancellable, callback, *user_data) | |
| get_chooser_finish(result) | |
| get_chooser_sync(cancellable) | |
| get_greeter(cancellable, callback, *user_data) | |
| get_greeter_finish(result) | |
| get_greeter_sync(cancellable) | |
| get_remote_greeter(cancellable, callback, *user_data) | |
| get_remote_greeter_finish(result) | |
| get_remote_greeter_sync(cancellable) | |
| get_user_verifier(cancellable, callback, *user_data) | |
| get_user_verifier_choice_list() | |
| get_user_verifier_finish(result) | |
| get_user_verifier_sync(cancellable) | |
| open_reauthentication_channel(username, cancellable, callback, *user_data) | |
| open_reauthentication_channel_finish(result) | |
| open_reauthentication_channel_sync(username, cancellable) | |
| set_enabled_extensions(extensions) | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Properties¶
None
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Fields¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class Gdm.Client(**kwargs)¶
- Bases: - GObject.Object- Abstract: - No - Structure: - Gdm.ClientClass- 
classmethod new()¶
- Return type: - Gdm.Client
 - 
get_chooser(cancellable, callback, *user_data)¶
- Parameters: - cancellable (Gio.CancellableorNone) – aGio.Cancellable
- callback (Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied
- user_data (objectorNone) – The data to pass to callback
 - Gets a - Gdm.Chooserobject that can be used to verify a user’s local account.
- cancellable (
 - 
get_chooser_finish(result)¶
- Parameters: - result ( - Gio.AsyncResult) – The- Gio.AsyncResultfrom the callback- Raises: - GLib.Error- Returns: - a - Gdm.Chooser- Return type: - Gdm.Chooser- Finishes an operation started with - Gdm.Client.get_chooser().
 - 
get_chooser_sync(cancellable)¶
- Parameters: - cancellable ( - Gio.Cancellableor- None) – a- Gio.Cancellable- Raises: - GLib.Error- Returns: - Gdm.Chooseror- Noneif caller is not a chooser- Return type: - Gdm.Chooser- Gets a - Gdm.Chooserobject that can be used to do do various XDMCP chooser related tasks, such as selecting a host or disconnecting.
 - 
get_greeter(cancellable, callback, *user_data)¶
- Parameters: - cancellable (Gio.CancellableorNone) – aGio.Cancellable
- callback (Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied
- user_data (objectorNone) – The data to pass to callback
 - Gets a - Gdm.Greeterobject that can be used to verify a user’s local account.
- cancellable (
 - 
get_greeter_finish(result)¶
- Parameters: - result ( - Gio.AsyncResult) – The- Gio.AsyncResultfrom the callback- Raises: - GLib.Error- Returns: - a - Gdm.Greeter- Return type: - Gdm.Greeter- Finishes an operation started with - Gdm.Client.get_greeter().
 - 
get_greeter_sync(cancellable)¶
- Parameters: - cancellable ( - Gio.Cancellableor- None) – a- Gio.Cancellable- Raises: - GLib.Error- Returns: - Gdm.Greeteror- Noneif caller is not a greeter- Return type: - Gdm.Greeter- Gets a - Gdm.Greeterobject that can be used to do do various login screen related tasks, such as selecting a users session, and starting that session.
 - 
get_remote_greeter(cancellable, callback, *user_data)¶
- Parameters: - cancellable (Gio.CancellableorNone) – aGio.Cancellable
- callback (Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied
- user_data (objectorNone) – The data to pass to callback
 - Gets a - Gdm.RemoteGreeterobject that can be used to verify a user’s local account.
- cancellable (
 - 
get_remote_greeter_finish(result)¶
- Parameters: - result ( - Gio.AsyncResult) – The- Gio.AsyncResultfrom the callback- Raises: - GLib.Error- Returns: - a - Gdm.RemoteGreeter- Return type: - Gdm.RemoteGreeter- Finishes an operation started with - Gdm.Client.get_remote_greeter().
 - 
get_remote_greeter_sync(cancellable)¶
- Parameters: - cancellable ( - Gio.Cancellableor- None) – a- Gio.Cancellable- Raises: - GLib.Error- Returns: - Gdm.RemoteGreeteror- Noneif caller is not remote- Return type: - Gdm.RemoteGreeter- Gets a - Gdm.RemoteGreeterobject that can be used to do do various remote login screen related tasks, such as disconnecting.
 - 
get_user_verifier(cancellable, callback, *user_data)¶
- Parameters: - cancellable (Gio.CancellableorNone) – aGio.Cancellable
- callback (Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied
- user_data (objectorNone) – The data to pass to callback
 - Gets a - Gdm.UserVerifierobject that can be used to verify a user’s local account.
- cancellable (
 - 
get_user_verifier_choice_list()¶
- Returns: - Gdm.UserVerifierChoiceListor- Noneif user verifier isn’t yet fetched, or daemon doesn’t support choice lists- Return type: - Gdm.UserVerifierChoiceList- Gets a - Gdm.UserVerifierChoiceListobject that can be used to verify a user’s local account.
 - 
get_user_verifier_finish(result)¶
- Parameters: - result ( - Gio.AsyncResult) – The- Gio.AsyncResultfrom the callback- Raises: - GLib.Error- Returns: - a - Gdm.UserVerifier- Return type: - Gdm.UserVerifier- Finishes an operation started with - Gdm.Client.get_user_verifier().
 - 
get_user_verifier_sync(cancellable)¶
- Parameters: - cancellable ( - Gio.Cancellableor- None) – a- Gio.Cancellable- Raises: - GLib.Error- Returns: - Gdm.UserVerifieror- Noneif not connected- Return type: - Gdm.UserVerifier- Gets a - Gdm.UserVerifierobject that can be used to verify a user’s local account.
 - 
open_reauthentication_channel(username, cancellable, callback, *user_data)¶
- Parameters: - username (str) – user to reauthenticate
- cancellable (Gio.CancellableorNone) – aGio.Cancellable
- callback (Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied
- user_data (objectorNone) – The data to pass to callback
 - Gets a - Gdm.UserVerifierobject that can be used to reauthenticate an already logged in user.
- username (
 - 
open_reauthentication_channel_finish(result)¶
- Parameters: - result ( - Gio.AsyncResult) – The- Gio.AsyncResultfrom the callback- Raises: - GLib.Error- Returns: - a - Gdm.UserVerifier- Return type: - Gdm.UserVerifier- Finishes an operation started with - Gdm.Client.open_reauthentication_channel().
 - 
open_reauthentication_channel_sync(username, cancellable)¶
- Parameters: - username (str) – user to reauthenticate
- cancellable (Gio.CancellableorNone) – aGio.Cancellable
 - Raises: - Returns: - Gdm.UserVerifieror- Noneif username is not already logged in.- Return type: - Gets a - Gdm.UserVerifierobject that can be used to reauthenticate an already logged in user. Free with- GObject.Object.unrefto close reauthentication channel.
- username (
 
- 
classmethod