Ags.Authentication¶
- Implementations:
 
Methods¶
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
  | 
|
  | 
|
  | 
|
  | 
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Ags.Authentication¶
 - Bases:
 - Structure:
 
- generate_token()¶
 - Raises:
 - Returns:
 the generated token
- Return type:
 
Generate token.
New in version 3.0.0.
- get_authentication_module()¶
 - 
Available authentication modules.
New in version 3.0.0.
 
- get_digest(realm, login, security_token)¶
 - Parameters:
 - Raises:
 - Returns:
 the encrypted password
- Return type:
 
Get digest of login.
New in version 3.0.0.
- is_session_active(security_context, user_uuid, security_token)¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextuser_uuid (
str) – the user’s UUIDsecurity_token (
str) – the security token
- Raises:
 - Returns:
 - Return type:
 
Check session.
New in version 3.0.0.
- login(login, password)¶
 - Parameters:
 - Raises:
 - Returns:
 Trueon success, otherwiseFalse- user_uuid:
 return location of the user’s uuid
- security_token:
 return location of the security token
- Return type:
 
Login.
New in version 3.0.0.
- logout(security_context, login, security_token)¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextlogin (
str) – the loginsecurity_token (
str) – the security token
- Raises:
 - Returns:
 - Return type:
 
Logout.
New in version 3.0.0.
- do_generate_token() virtual¶
 - Returns:
 the generated token
- Return type:
 
Generate token.
New in version 3.0.0.
- do_get_authentication_module() virtual¶
 - 
Available authentication modules.
New in version 3.0.0.
 
- do_get_digest(realm, login, security_token) virtual¶
 - Parameters:
 - Returns:
 the encrypted password
- Return type:
 
Get digest of login.
New in version 3.0.0.
- do_is_session_active(security_context, user_uuid, security_token) virtual¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextuser_uuid (
str) – the user’s UUIDsecurity_token (
str) – the security token
- Returns:
 - Return type:
 
Check session.
New in version 3.0.0.
- do_login(login, password) virtual¶
 - Parameters:
 - Returns:
 Trueon success, otherwiseFalse- user_uuid:
 return location of the user’s uuid
- security_token:
 return location of the security token
- Return type:
 
Login.
New in version 3.0.0.
- do_logout(security_context, login, security_token) virtual¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextlogin (
str) – the loginsecurity_token (
str) – the security token
- Returns:
 - Return type:
 
Logout.
New in version 3.0.0.