Accounts.AuthData¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
|
|
Details¶
- class Accounts.AuthData¶
Opaque structure. Use related accessor functions.
- get_credentials_id()¶
- Returns:
the credentials ID.
- Return type:
Gets the ID of the credentials associated with this account.
New in version 1.1.
- get_login_parameters(extra_parameters)¶
- Parameters:
extra_parameters (
GLib.Variant
orNone
) – aGLib.Variant
containing client-specific authentication parameters to be added to the returned dictionary.- Returns:
a floating
GLib.Variant
of type %G_VARIANT_TYPE_VARDICT containing all the authentication parameters.- Return type:
Gets the authentication parameters.
New in version 1.4.
- get_mechanism()¶
- Returns:
the authentication mechanism.
- Return type:
Gets the authentication mechanism.
- get_parameters()¶
- Returns:
a
GLib.HashTable
containing all the authentication parameters.- Return type:
{
str
:GObject.Value
}
Gets the authentication parameters.
Deprecated since version 1.4: use
Accounts.AuthData.get_login_parameters
() instead.
- insert_parameters(parameters)¶
- Parameters:
parameters ({
str
:GObject.Value
}) – aGLib.HashTable
containing the authentication parameters to be added.
Insert the given authentication parameters into the authentication data. If some parameters were already present, the parameters passed with this method take precedence.
Deprecated since version 1.4: use
Accounts.AuthData.get_login_parameters
() instead.
- ref()¶
- Returns:
self.
- Return type:
Increment the reference count of self.
- unref()¶
Decrements the reference count of self. The item is destroyed when the count gets to 0.