Top |
enum | AgsSecurityContextMode |
#define | AGS_TYPE_SECURITY_CONTEXT |
#define | AGS_TYPE_SECURITY_CONTEXT_MODE |
struct | AgsSecurityContext |
struct | AgsSecurityContextClass |
GFlags ╰── AgsSecurityContextMode GObject ╰── AgsSecurityContext ╰── AgsAuthSecurityContext
#define AGS_SECURITY_CONTEXT_GET_OBJ_MUTEX(obj) (&(((AgsSecurityContext *) obj)->obj_mutex))
void ags_security_context_parse_business_group (AgsSecurityContext *security_context
,xmlDoc *xml_doc
,gchar *user_uuid
);
Parse business_group
and apply to security_context
.
Since: 3.0.0
gchar **
ags_security_context_get_business_group
(AgsSecurityContext *security_context
);
Get business group of security_context
.
the string vector containing business group or NULL
.
[element-type utf8][array zero-terminated=1][transfer full]
Since: 3.0.0
void ags_security_context_add_server_context (AgsSecurityContext *security_context
,gchar *server_context
);
Add server_context
to security_context
.
Since: 3.0.0
gboolean ags_security_context_remove_server_context (AgsSecurityContext *security_context
,gchar *server_context
);
Remove server_context
from security_context
.
Since: 3.0.0
gchar **
ags_security_context_get_server_context
(AgsSecurityContext *security_context
);
Get business group of security_context
.
the string vector containing business group or NULL
.
[element-type utf8][array zero-terminated=1][transfer full]
Since: 3.0.0
AgsSecurityContext * ags_security_context_new ();
Create AgsSecurityContext.
Since: 3.0.0
#define AGS_IS_SECURITY_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SECURITY_CONTEXT))
#define AGS_IS_SECURITY_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SECURITY_CONTEXT))
#define AGS_SECURITY_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SECURITY_CONTEXT, AgsSecurityContext))
#define AGS_SECURITY_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SECURITY_CONTEXT, AgsSecurityContextClass))
#define AGS_SECURITY_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SECURITY_CONTEXT, AgsSecurityContextClass))
The AgsSecurityContextMode specifies basic account permissions.
#define AGS_TYPE_SECURITY_CONTEXT_MODE (ags_security_context_mode_get_type())