Ags.PasswordStore

g Ags.PasswordStore Ags.PasswordStore GObject.GInterface GObject.GInterface GObject.GInterface->Ags.PasswordStore

Implementations:

Ags.XmlPasswordStore

Methods

encrypt_password (password, salt)

get_login_name (security_context, user_uuid, security_token)

get_password (security_context, user_uuid, security_token)

set_login_name (security_context, user_uuid, security_token, login_name)

set_password (security_context, user_uuid, security_token, password)

Virtual Methods

do_encrypt_password (password, salt)

do_get_login_name (security_context, user_uuid, security_token)

do_get_password (security_context, user_uuid, security_token)

do_set_login_name (security_context, user_uuid, security_token, login_name)

do_set_password (security_context, user_uuid, security_token, password)

Properties

None

Signals

None

Fields

None

Class Details

class Ags.PasswordStore
Bases:

GObject.GInterface

Structure:

Ags.PasswordStoreInterface

encrypt_password(password, salt)
Parameters:
  • password (str) – the password

  • salt (str) – your salt

Raises:

GLib.Error

Returns:

the encrypted bytes

Return type:

str

Encrypt password.

New in version 3.0.0.

get_login_name(security_context, user_uuid, security_token)
Parameters:
Raises:

GLib.Error

Returns:

the login name

Return type:

str

Get login name.

New in version 3.0.0.

get_password(security_context, user_uuid, security_token)
Parameters:
Raises:

GLib.Error

Returns:

the password

Return type:

str

Get password.

New in version 3.0.0.

set_login_name(security_context, user_uuid, security_token, login_name)
Parameters:
Raises:

GLib.Error

Set login name.

New in version 3.0.0.

set_password(security_context, user_uuid, security_token, password)
Parameters:
Raises:

GLib.Error

Set password.

New in version 3.0.0.

do_encrypt_password(password, salt) virtual
Parameters:
  • password (str) – the password

  • salt (str) – your salt

Returns:

the encrypted bytes

Return type:

str

Encrypt password.

New in version 3.0.0.

do_get_login_name(security_context, user_uuid, security_token) virtual
Parameters:
Returns:

the login name

Return type:

str

Get login name.

New in version 3.0.0.

do_get_password(security_context, user_uuid, security_token) virtual
Parameters:
Returns:

the password

Return type:

str

Get password.

New in version 3.0.0.

do_set_login_name(security_context, user_uuid, security_token, login_name) virtual
Parameters:

Set login name.

New in version 3.0.0.

do_set_password(security_context, user_uuid, security_token, password) virtual
Parameters:

Set password.

New in version 3.0.0.