Signon.AuthService

g GObject.Object GObject.Object Signon.AuthService Signon.AuthService GObject.Object->Signon.AuthService

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_mechanisms (method, cancellable, callback, *user_data)

get_mechanisms_finish (result)

get_mechanisms_sync (method, cancellable)

get_methods (cancellable, callback, *user_data)

get_methods_finish (result)

get_methods_sync (cancellable)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Signon.AuthService(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Signon.AuthServiceClass

Opaque struct. Use the accessor functions below.

classmethod new()
Returns:

an instance of an Signon.AuthService.

Return type:

Signon.AuthService

Create a new Signon.AuthService.

get_mechanisms(method, cancellable, callback, *user_data)
Parameters:

Lists all the available mechanisms.

New in version 2.0.

get_mechanisms_finish(result)
Parameters:

result (Gio.AsyncResult) – a Gio.AsyncResult

Raises:

GLib.Error

Returns:

A list of available mechanisms.

Return type:

[str]

Completes an asynchronous request to Signon.AuthService.get_mechanisms().

get_mechanisms_sync(method, cancellable)
Parameters:
Raises:

GLib.Error

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:

Lists all the available methods.

New in version 2.0.

get_methods_finish(result)
Parameters:

result (Gio.AsyncResult) – a Gio.AsyncResult

Raises:

GLib.Error

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 or None) – a Gio.Cancellable or None

Raises:

GLib.Error

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.