Ags.PasswordStore¶
- Implementations:
 
Methods¶
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Ags.PasswordStore¶
 - Bases:
 - Structure:
 
- encrypt_password(password, salt)¶
 - Parameters:
 - Raises:
 - Returns:
 the encrypted bytes
- Return type:
 
Encrypt password.
New in version 3.0.0.
- get_login_name(security_context, user_uuid, security_token)¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextuser_uuid (
str) – the users unique identifiersecurity_token (
str) – the security token
- Raises:
 - Returns:
 the login name
- Return type:
 
Get login name.
New in version 3.0.0.
- get_password(security_context, user_uuid, security_token)¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextuser_uuid (
str) – the user UUIDsecurity_token (
str) – the security token
- Raises:
 - Returns:
 the password
- Return type:
 
Get password.
New in version 3.0.0.
- set_login_name(security_context, user_uuid, security_token, login_name)¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextuser_uuid (
str) – the users unique identifiersecurity_token (
str) – the security tokenlogin_name (
str) – the login name
- Raises:
 
Set login name.
New in version 3.0.0.
- set_password(security_context, user_uuid, security_token, password)¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextuser_uuid (
str) – the user UUIDsecurity_token (
str) – the security tokenpassword (
str) – the password
- Raises:
 
Set password.
New in version 3.0.0.
- do_encrypt_password(password, salt) virtual¶
 - Parameters:
 - Returns:
 the encrypted bytes
- Return type:
 
Encrypt password.
New in version 3.0.0.
- do_get_login_name(security_context, user_uuid, security_token) virtual¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextuser_uuid (
str) – the users unique identifiersecurity_token (
str) – the security token
- Returns:
 the login name
- Return type:
 
Get login name.
New in version 3.0.0.
- do_get_password(security_context, user_uuid, security_token) virtual¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextuser_uuid (
str) – the user UUIDsecurity_token (
str) – the security token
- Returns:
 the password
- Return type:
 
Get password.
New in version 3.0.0.
- do_set_login_name(security_context, user_uuid, security_token, login_name) virtual¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextuser_uuid (
str) – the users unique identifiersecurity_token (
str) – the security tokenlogin_name (
str) – the login name
Set login name.
New in version 3.0.0.
- do_set_password(security_context, user_uuid, security_token, password) virtual¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextuser_uuid (
str) – the user UUIDsecurity_token (
str) – the security tokenpassword (
str) – the password
Set password.
New in version 3.0.0.