Ags.PasswordStoreManager

g Ags.PasswordStoreManager Ags.PasswordStoreManager GObject.Object GObject.Object GObject.Object->Ags.PasswordStoreManager

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

get_instance ()

class

new ()

add_password_store (password_store)

check_password (user_uuid, password)

get_password_store ()

remove_password_store (password_store)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

gobject

GObject.Object

r

obj_mutex

GLib.RecMutex

r

password_store

[object]

r

salt

str

r

Class Details

class Ags.PasswordStoreManager(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Ags.PasswordStoreManagerClass

classmethod get_instance()
Returns:

the Ags.PasswordStoreManager

Return type:

Ags.PasswordStoreManager

Get instance.

New in version 3.0.0.

classmethod new()
Returns:

a new Ags.PasswordStoreManager

Return type:

Ags.PasswordStoreManager

Creates an Ags.PasswordStoreManager

New in version 3.0.0.

add_password_store(password_store)
Parameters:

password_store (GObject.Object) – the GObject.Object implementing Ags.PasswordStore

Add password_store to self.

New in version 3.0.0.

check_password(user_uuid, password)
Parameters:
  • user_uuid (str) – the user uuid

  • password (str) – the password

Returns:

True if password matches, otherwise False

Return type:

bool

Check password to be valid for user_uuid.

New in version 3.0.0.

get_password_store()
Returns:

the GLib.List-struct containing GObject.Object implementing Ags.PasswordStore

Return type:

[GObject.Object]

Get password_store.

New in version 3.0.0.

remove_password_store(password_store)
Parameters:

password_store (GObject.Object) – the GObject.Object implementing Ags.PasswordStore

Remove password_store from self.

New in version 3.0.0.