struct AgsAuthenticationInterface {
GTypeInterface ginterface;
gchar** (* get_authentication_module) (
AgsAuthentication* authentication
);
gboolean (* login) (
AgsAuthentication* authentication,
gchar* login,
gchar* password,
gchar** user_uuid,
gchar** security_token,
GError** error
);
gboolean (* logout) (
AgsAuthentication* authentication,
GObject* security_context,
gchar* login,
gchar* security_token,
GError** error
);
gchar* (* generate_token) (
AgsAuthentication* authentication,
GError** error
);
gchar* (* get_digest) (
AgsAuthentication* authentication,
gchar* realm,
gchar* login,
gchar* security_token,
GError** error
);
gboolean (* is_session_active) (
AgsAuthentication* authentication,
GObject* security_context,
gchar* user_uuid,
gchar* security_token,
GError** error
);
}