WockySaslAuth

WockySaslAuth

Functions

Properties

WockyAuthRegistry * auth-registry Read / Write / Construct Only
WockyXmppConnection * connection Read / Write / Construct Only
gchar * password Write / Construct
gchar * server Read / Write / Construct
gchar * username Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── WockySaslAuth

Description

Functions

wocky_sasl_auth_new ()

WockySaslAuth *
wocky_sasl_auth_new (const gchar *server,
                     const gchar *username,
                     const gchar *password,
                     WockyXmppConnection *connection,
                     WockyAuthRegistry *auth_registry);

wocky_sasl_auth_add_handler ()

void
wocky_sasl_auth_add_handler (WockySaslAuth *sasl,
                             WockyAuthHandler *handler);

wocky_sasl_auth_authenticate_async ()

void
wocky_sasl_auth_authenticate_async (WockySaslAuth *sasl,
                                    WockyStanza *features,
                                    gboolean allow_plain,
                                    gboolean is_secure,
                                    GCancellable *cancellable,
                                    GAsyncReadyCallback callback,
                                    gpointer user_data);

wocky_sasl_auth_authenticate_finish ()

gboolean
wocky_sasl_auth_authenticate_finish (WockySaslAuth *sasl,
                                     GAsyncResult *result,
                                     GError **error);

Types and Values

struct WockySaslAuthClass

struct WockySaslAuthClass {
};

The class of a WockySaslAuth.

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 “server” property

  “server”                   gchar *

The name of the server.

Flags: Read / Write / Construct

Default value: NULL


The “username” property

  “username”                 gchar *

The username to authenticate with.

Flags: Write / Construct

Default value: NULL