Signon.AuthService¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Signon.AuthService(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Opaque struct. Use the accessor functions below.
- classmethod new()¶
- Returns:
an instance of an
Signon.AuthService
.- Return type:
Create a new
Signon.AuthService
.
- get_mechanisms(method, cancellable, callback, *user_data)¶
- Parameters:
method (
str
) – the name of the method whose mechanisms must be retrieved.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
callback (
Gio.AsyncReadyCallback
orNone
) – a callback to execute upon completion
Lists all the available mechanisms.
New in version 2.0.
- get_mechanisms_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – aGio.AsyncResult
- Raises:
- Returns:
A list of available mechanisms.
- Return type:
[
str
]
Completes an asynchronous request to
Signon.AuthService.get_mechanisms
().
- get_mechanisms_sync(method, cancellable)¶
- Parameters:
method (
str
) – the name of the method whose mechanisms must be retrieved.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
- Raises:
- Returns:
A list of available mechanisms.
- Return type:
[
str
]
Lists all the available mechanisms. This is a blocking version of
Signon.AuthService.get_mechanisms
().New in version 2.0.
- get_methods(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
callback (
Gio.AsyncReadyCallback
orNone
) – a callback to execute upon completion
Lists all the available methods.
New in version 2.0.
- get_methods_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – aGio.AsyncResult
- Raises:
- Returns:
A list of available methods.
- Return type:
[
str
]
Completes an asynchronous request to
Signon.AuthService.get_methods
().
- get_methods_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
- Raises:
- Returns:
A list of available methods.
- Return type:
[
str
]
Lists all the available methods. This is a blocking version of
Signon.AuthService.get_methods
().New in version 2.0.