WockySaslAuth

## WockySaslAuth WockySaslAuth |

## Synopsis

    struct              WockySaslAuthClass;
    WockySaslAuth *     wocky_sasl_auth_new                 (const gchar *server,
                                                             const gchar *username,
                                                             const gchar *password,
                                                             WockyXmppConnection *connection,
                                                             WockyAuthRegistry *auth_registry);
    void                wocky_sasl_auth_add_handler         (WockySaslAuth *sasl,
                                                             WockyAuthHandler *handler);
    void                wocky_sasl_auth_authenticate_async  (WockySaslAuth *sasl,
                                                             WockyStanza *features,
                                                             gboolean allow_plain,
                                                             gboolean is_secure,
                                                             GCancellable *cancellable,
                                                             GAsyncReadyCallback callback,
                                                             gpointer user_data);
    gboolean            wocky_sasl_auth_authenticate_finish (WockySaslAuth *sasl,
                                                             GAsyncResult *result,
                                                             GError **error);

## Description

## Details

### struct WockySaslAuthClass

    struct WockySaslAuthClass {
    };

The class of a WockySaslAuth.

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