Gdm.Client¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gdm.Client(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- get_chooser(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – aGio.Cancellablecallback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied
Gets a
Gdm.Chooserobject that can be used to verify a user’s local account.
- get_chooser_finish(result)¶
- Parameters:
result (
Gio.AsyncResult) – TheGio.AsyncResultfrom the callback- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Client.get_chooser().
- get_chooser_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – aGio.Cancellable- Raises:
- Returns:
Gdm.ChooserorNoneif caller is not a chooser- Return type:
Gets a
Gdm.Chooserobject that can be used to do do various XDMCP chooser related tasks, such as selecting a host or disconnecting.
- get_enabled_extensions()¶
- Returns:
a list of extensions
- Return type:
[
str]
Gets GDM’s enabled pam extensions. Currently, only
org.gnome.DisplayManager.UserVerifier.ChoiceListandorg.gnome.DisplayManager.UserVerifier.CustomJSONare supported.
- get_greeter(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – aGio.Cancellablecallback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied
Gets a
Gdm.Greeterobject that can be used to verify a user’s local account.
- get_greeter_finish(result)¶
- Parameters:
result (
Gio.AsyncResult) – TheGio.AsyncResultfrom the callback- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Client.get_greeter().
- get_greeter_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – aGio.Cancellable- Raises:
- Returns:
Gdm.GreeterorNoneif caller is not a greeter- Return type:
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.Cancellablecallback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied
Gets a
Gdm.RemoteGreeterobject that can be used to verify a user’s local account.
- get_remote_greeter_finish(result)¶
- Parameters:
result (
Gio.AsyncResult) – TheGio.AsyncResultfrom the callback- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Client.get_remote_greeter().
- get_remote_greeter_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – aGio.Cancellable- Raises:
- Returns:
Gdm.RemoteGreeterorNoneif caller is not remote- Return type:
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.Cancellablecallback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied
Gets a
Gdm.UserVerifierobject that can be used to verify a user’s local account.
- get_user_verifier_choice_list()¶
- Returns:
Gdm.UserVerifierChoiceListorNoneif user verifier isn’t yet fetched, or daemon doesn’t support choice lists- Return type:
Gets a
Gdm.UserVerifierChoiceListobject that can be used to verify a user’s local account.
- get_user_verifier_custom_json()¶
- Returns:
Gdm.UserVerifierCustomJSONorNoneif user verifier isn’t yet fetched, or daemon doesn’t support the custom JSON protocol- Return type:
Gets a
Gdm.UserVerifierCustomJSONobject that can be used to verify a user’s local account.
- get_user_verifier_finish(result)¶
- Parameters:
result (
Gio.AsyncResult) – TheGio.AsyncResultfrom the callback- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Client.get_user_verifier().
- get_user_verifier_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – aGio.Cancellable- Raises:
- Returns:
Gdm.UserVerifierorNoneif not connected- Return type:
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 reauthenticatecancellable (
Gio.CancellableorNone) – aGio.Cancellablecallback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied
Gets a
Gdm.UserVerifierobject that can be used to reauthenticate an already logged in user.
- open_reauthentication_channel_finish(result)¶
- Parameters:
result (
Gio.AsyncResult) – TheGio.AsyncResultfrom the callback- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Client.open_reauthentication_channel().
- open_reauthentication_channel_sync(username, cancellable)¶
- Parameters:
username (
str) – user to reauthenticatecancellable (
Gio.CancellableorNone) – aGio.Cancellable
- Raises:
- Returns:
Gdm.UserVerifierorNoneif username is not already logged in.- Return type:
Gets a
Gdm.UserVerifierobject that can be used to reauthenticate an already logged in user. Free withGObject.Object.unrefto close reauthentication channel.