Class Xmpp4Js.Workflow.Login
Defined in Login.js
Encapsulates the login process for a given connection.
TODO look into whether a connection may authenticate multuiple times
and cleanly change credentials. If not, throw an error if we're
already authenticated.
Method Summary
|
|
authAnon()
undocumented
|
|
authPlaintext(username, password, resource)
undocumented
|
|
start(type, username, password, resource)
Sent an AuthPlainText packet constructed with passed arguments (resource
is xmpp4js if none is specified).
|
Xmpp4Js.Workflow.Login
Xmpp4Js.Workflow.Login(config)
Parameters:
Object config
- Specify con.
authAnon
authAnon()
authPlaintext
authPlaintext(username, password, resource)
start
start(type, username, password, resource)
Sent an AuthPlainText packet constructed with passed arguments (resource
is xmpp4js if none is specified). Intercept the response and fire 'success'
or 'failure' events accordingly.
Documentation generated by
JsDoc Toolkit 1.4.1 on Tue Aug 26 2008 14:35:54 GMT-0500 (CDT)