WockyJabberAuth
WockyJabberAuth
|
|
Synopsis
struct WockyJabberAuthClass;
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
);
WockyJabberAuth * wocky_jabber_auth_new (const gchar *server
,
const gchar *username
,
const gchar *resource
,
const gchar *password
,
WockyXmppConnection *connection
,
WockyAuthRegistry *auth_registry
);
Details
struct WockyJabberAuthClass
struct WockyJabberAuthClass {
};
The class of a WockyJabberAuth.
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
);
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
);