krähemann.com

AgsXmlAuthentication

AgsXmlAuthentication — authentication by XML file

Object Hierarchy

    GObject
    ╰── AgsXmlAuthentication

Implemented Interfaces

AgsXmlAuthentication implements AgsAuthentication.

Includes

#include <ags/server/security/ags_xml_authentication.h>

Description

The AgsXmlAuthentication is an object to authenticate to Advanced Gtk+ Sequencer's server.

Functions

AGS_XML_AUTHENTICATION_GET_OBJ_MUTEX()

#define AGS_XML_AUTHENTICATION_GET_OBJ_MUTEX(obj) (&(((AgsXmlAuthentication *) obj)->obj_mutex))

ags_xml_authentication_open_filename ()

void
ags_xml_authentication_open_filename (AgsXmlAuthentication *xml_authentication,
                                      gchar *filename);

Open filename .

Parameters

xml_authentication

the AgsXmlAuthentication

 

filename

the filename

 

Since: 3.0.0


ags_xml_authentication_find_user_uuid ()

xmlNode *
ags_xml_authentication_find_user_uuid (AgsXmlAuthentication *xml_authentication,
                                       gchar *user_uuid);

Find ags-srv-auth xmlNode containing user_uuid .

Parameters

xml_authentication

the AgsXmlAuthentication

 

user_uuid

the user UUID

 

Returns

the matching xmlNode or NULL.

[transfer none]

Since: 3.0.0


ags_xml_authentication_new ()

AgsXmlAuthentication *
ags_xml_authentication_new ();

Create AgsXmlAuthentication.

Returns

the new AgsXmlAuthentication instance

Since: 3.0.0


AGS_IS_XML_AUTHENTICATION()

#define AGS_IS_XML_AUTHENTICATION(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_XML_AUTHENTICATION))

AGS_IS_XML_AUTHENTICATION_CLASS()

#define AGS_IS_XML_AUTHENTICATION_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_XML_AUTHENTICATION))

AGS_XML_AUTHENTICATION()

#define AGS_XML_AUTHENTICATION(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_XML_AUTHENTICATION, AgsXmlAuthentication))

AGS_XML_AUTHENTICATION_CLASS()

#define AGS_XML_AUTHENTICATION_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_XML_AUTHENTICATION, AgsXmlAuthenticationClass))

AGS_XML_AUTHENTICATION_GET_CLASS()

#define AGS_XML_AUTHENTICATION_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_XML_AUTHENTICATION, AgsXmlAuthenticationClass))

ags_xml_authentication_get_type ()

GType
ags_xml_authentication_get_type ();

Types and Values

AGS_TYPE_XML_AUTHENTICATION

#define AGS_TYPE_XML_AUTHENTICATION                (ags_xml_authentication_get_type())

struct AgsXmlAuthentication

struct AgsXmlAuthentication;

struct AgsXmlAuthenticationClass

struct AgsXmlAuthenticationClass {
  GObjectClass gobject;
};