Top |
#define | AGS_LOGIN_INFO() |
#define | AGS_AUTHENTICATION_MANAGER_GET_OBJ_MUTEX() |
AgsLoginInfo * | ags_login_info_alloc () |
void | ags_login_info_free () |
void | ags_login_info_ref () |
void | ags_login_info_unref () |
GList * | ags_authentication_manager_get_authentication () |
void | ags_authentication_manager_add_authentication () |
void | ags_authentication_manager_remove_authentication () |
gint64 | ags_authentication_manager_get_session_timeout () |
AgsLoginInfo * | ags_authentication_manager_lookup_login () |
void | ags_authentication_manager_insert_login () |
void | ags_authentication_manager_remove_login () |
gboolean | ags_authentication_manager_login () |
gboolean | ags_authentication_manager_logout () |
gchar * | ags_authentication_manager_get_digest () |
gboolean | ags_authentication_manager_is_session_active () |
AgsAuthenticationManager * | ags_authentication_manager_get_instance () |
AgsAuthenticationManager * | ags_authentication_manager_new () |
#define AGS_AUTHENTICATION_MANAGER_GET_OBJ_MUTEX(obj) (&(((AgsAuthenticationManager *) obj)->obj_mutex))
void
ags_login_info_free (AgsLoginInfo *login_info
);
Free login_info
.
Since: 3.0.0
void
ags_login_info_ref (AgsLoginInfo *login_info
);
Increase ref-count of login_info
.
Since: 3.0.0
void
ags_login_info_unref (AgsLoginInfo *login_info
);
Decrease ref-count of login_info
and free it if ref-count drops to 0.
Since: 3.0.0
GList *
ags_authentication_manager_get_authentication
(AgsAuthenticationManager *authentication_manager
);
Get authentication.
the GList containing GObject implementing AgsAuthentication.
[element-type GObject][transfer full]
Since: 3.0.0
void ags_authentication_manager_add_authentication (AgsAuthenticationManager *authentication_manager
,GObject *authentication
);
Add authentication
to authentication_manager
.
Since: 3.0.0
void ags_authentication_manager_remove_authentication (AgsAuthenticationManager *authentication_manager
,GObject *authentication
);
Remove authentication
from authentication_manager
.
Since: 3.0.0
gint64
ags_authentication_manager_get_session_timeout
(AgsAuthenticationManager *authentication_manager
);
Get session timeout.
Since: 3.0.0
AgsLoginInfo * ags_authentication_manager_lookup_login (AgsAuthenticationManager *authentication_manager
,gchar *login
);
Lookup login
.
Since: 3.0.0
void ags_authentication_manager_insert_login (AgsAuthenticationManager *authentication_manager
,gchar *login
,AgsLoginInfo *login_info
);
Insert login
as key and login_info
as its value.
Since: 3.0.0
void ags_authentication_manager_remove_login (AgsAuthenticationManager *authentication_manager
,gchar *login
);
Remove login
.
Since: 3.0.0
gboolean ags_authentication_manager_login (AgsAuthenticationManager *authentication_manager
,gchar *authentication_module
,gchar *login
,gchar *password
,gchar **user_uuid
,gchar **security_token
);
Login.
authentication_manager |
||
authentication_module |
the authentication module |
|
login |
the login |
|
password |
the password |
|
user_uuid |
return location of user UUID. |
[out][transfer full] |
security_token |
return location of security token. |
[out][transfer full] |
Since: 3.0.0
gboolean ags_authentication_manager_logout (AgsAuthenticationManager *authentication_manager
,GObject *security_context
,gchar *login
,gchar *security_token
);
Logout.
authentication_manager |
||
security_context |
||
login |
the login |
|
security_token |
the security token |
Since: 3.0.0
gchar * ags_authentication_manager_get_digest (AgsAuthenticationManager *authentication_manager
,gchar *authentication_module
,gchar *realm
,gchar *login
,gchar *security_token
);
Get digest of login
.
authentication_manager |
||
authentication_module |
the authentication module |
|
realm |
the realm |
|
login |
the login |
|
security_token |
the security token |
Since: 3.0.0
gboolean ags_authentication_manager_is_session_active (AgsAuthenticationManager *authentication_manager
,GObject *security_context
,gchar *user_uuid
,gchar *security_token
);
Check if session is active.
authentication_manager |
||
security_context |
the security context |
|
user_uuid |
the user's UUID |
|
security_token |
the security token |
Since: 3.0.0
AgsAuthenticationManager * ags_authentication_manager_get_instance ();
Get instance.
Since: 3.0.0
AgsAuthenticationManager * ags_authentication_manager_new ();
Creates an AgsAuthenticationManager
Since: 3.0.0