WockyJabberAuth

WockyJabberAuth

Functions

Properties

WockyAuthRegistry * auth-registry Read / Write / Construct Only
WockyXmppConnection * connection Read / Write / Construct Only
gchar * password Write / Construct
gchar * resource Write / Construct
gchar * session-id Read / Write / Construct
gchar * username Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── WockyJabberAuth

Description

Functions

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);

Types and Values

struct WockyJabberAuthClass

struct WockyJabberAuthClass {
};

The class of a WockyJabberAuth.

Property Details

The “auth-registry” property

  “auth-registry”            WockyAuthRegistry *

Authentication Registry.

Flags: Read / Write / Construct Only


The “connection” property

  “connection”               WockyXmppConnection *

The Xmpp connection to user.

Flags: Read / Write / Construct Only


The “password” property

  “password”                 gchar *

The password to authenticate with.

Flags: Write / Construct

Default value: NULL


The “resource” property

  “resource”                 gchar *

The XMPP resource to bind to.

Flags: Write / Construct

Default value: NULL


The “session-id” property

  “session-id”               gchar *

The XMPP session ID.

Flags: Read / Write / Construct

Default value: NULL


The “username” property

  “username”                 gchar *

The username to authenticate with.

Flags: Write / Construct

Default value: NULL