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);
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_finish ()
gboolean wocky_jabber_auth_authenticate_finish
(WockyJabberAuth *self,
GAsyncResult *result,
GError **error);