WockyJabberAuth

WockyJabberAuth

Synopsis

struct              WockyJabberAuthClass;
WockyJabberAuth *   wocky_jabber_auth_new               (const gchar *server,
                                                         const gchar *username,
                                                         const gchar *resource,
                                                         const gchar *password,
                                                         WockyXmppConnection *connection,
                                                         WockyAuthRegistry *auth_registry);
void                wocky_jabber_auth_add_handler       (WockyJabberAuth *self,
                                                         WockyAuthHandler *handler);
void                wocky_jabber_auth_authenticate_async
                                                        (WockyJabberAuth *self,
                                                         gboolean allow_plain,
                                                         gboolean is_secure,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);
gboolean            wocky_jabber_auth_authenticate_finish
                                                        (WockyJabberAuth *self,
                                                         GAsyncResult *result,
                                                         GError **error);
                    WockyJabberAuthPrivate;

Description

Details

struct WockyJabberAuthClass

struct WockyJabberAuthClass {
};

The class of a WockyJabberAuth.


wocky_jabber_auth_new ()

WockyJabberAuth *   wocky_jabber_auth_new               (const gchar *server,
                                                         const gchar *username,
                                                         const gchar *resource,
                                                         const gchar *password,
                                                         WockyXmppConnection *connection,
                                                         WockyAuthRegistry *auth_registry);


wocky_jabber_auth_add_handler ()

void                wocky_jabber_auth_add_handler       (WockyJabberAuth *self,
                                                         WockyAuthHandler *handler);


wocky_jabber_auth_authenticate_async ()

void                wocky_jabber_auth_authenticate_async
                                                        (WockyJabberAuth *self,
                                                         gboolean allow_plain,
                                                         gboolean is_secure,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);


wocky_jabber_auth_authenticate_finish ()

gboolean            wocky_jabber_auth_authenticate_finish
                                                        (WockyJabberAuth *self,
                                                         GAsyncResult *result,
                                                         GError **error);


WockyJabberAuthPrivate

typedef struct _WockyJabberAuthPrivate WockyJabberAuthPrivate;