Top | ![]() |
![]() |
![]() |
![]() |
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 |
WockyJabberAuth * wocky_jabber_auth_new (const gchar *server
,const gchar *username
,const gchar *resource
,const gchar *password
,WockyXmppConnection *connection
,WockyAuthRegistry *auth_registry
);
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
);
“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
“resource”
property“resource” gchar *
The XMPP resource to bind to.
Flags: Write / Construct
Default value: NULL
“session-id”
property“session-id” gchar *
The XMPP session ID.
Flags: Read / Write / Construct
Default value: NULL
“username”
property“username” gchar *
The username to authenticate with.
Flags: Write / Construct
Default value: NULL