Top | ![]() |
![]() |
![]() |
![]() |
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 |
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
);
“auth-registry”
property“auth-registry” WockyAuthRegistry *
Authentication Registry.
Flags: Read / Write / Construct Only
“connection”
property“connection” WockyXmppConnection *
The Xmpp connection to user.
Flags: Read / Write / Construct Only
“password”
property“password” gchar *
The password to authenticate with.
Flags: Write / Construct
Default value: NULL
“server”
property“server” gchar *
The name of the server.
Flags: Read / Write / Construct
Default value: NULL
“username”
property“username” gchar *
The username to authenticate with.
Flags: Write / Construct
Default value: NULL