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.Cancellable
orNone
) – aGio.Cancellable
callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied
Gets a
Gdm.Chooser
object that can be used to verify a user’s local account.
- get_chooser_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – TheGio.AsyncResult
from the callback- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Client.get_chooser
().
- get_chooser_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
Gdm.Chooser
orNone
if caller is not a chooser- Return type:
Gets a
Gdm.Chooser
object 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.ChoiceList
andorg.gnome.DisplayManager.UserVerifier.CustomJSON
are supported.
- get_greeter(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied
Gets a
Gdm.Greeter
object that can be used to verify a user’s local account.
- get_greeter_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – TheGio.AsyncResult
from the callback- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Client.get_greeter
().
- get_greeter_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
Gdm.Greeter
orNone
if caller is not a greeter- Return type:
Gets a
Gdm.Greeter
object 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.Cancellable
orNone
) – aGio.Cancellable
callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied
Gets a
Gdm.RemoteGreeter
object that can be used to verify a user’s local account.
- get_remote_greeter_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – TheGio.AsyncResult
from the callback- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Client.get_remote_greeter
().
- get_remote_greeter_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
Gdm.RemoteGreeter
orNone
if caller is not remote- Return type:
Gets a
Gdm.RemoteGreeter
object 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.Cancellable
orNone
) – aGio.Cancellable
callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied
Gets a
Gdm.UserVerifier
object that can be used to verify a user’s local account.
- get_user_verifier_choice_list()¶
- Returns:
Gdm.UserVerifierChoiceList
orNone
if user verifier isn’t yet fetched, or daemon doesn’t support choice lists- Return type:
Gets a
Gdm.UserVerifierChoiceList
object that can be used to verify a user’s local account.
- get_user_verifier_custom_json()¶
- Returns:
Gdm.UserVerifierCustomJSON
orNone
if user verifier isn’t yet fetched, or daemon doesn’t support the custom JSON protocol- Return type:
Gets a
Gdm.UserVerifierCustomJSON
object that can be used to verify a user’s local account.
- get_user_verifier_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – TheGio.AsyncResult
from the callback- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Client.get_user_verifier
().
- get_user_verifier_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
Gdm.UserVerifier
orNone
if not connected- Return type:
Gets a
Gdm.UserVerifier
object 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.Cancellable
orNone
) – aGio.Cancellable
callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied
Gets a
Gdm.UserVerifier
object that can be used to reauthenticate an already logged in user.
- open_reauthentication_channel_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – TheGio.AsyncResult
from 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.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
Gdm.UserVerifier
orNone
if username is not already logged in.- Return type:
Gets a
Gdm.UserVerifier
object that can be used to reauthenticate an already logged in user. Free withGObject.Object.unref
to close reauthentication channel.