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