comparison lightstring.js @ 64:d9f5ae0b6d98

Support for DIGEST-MD5 authentication. (plugin)
author Sonny Piers <sonny.piers@gmail.com>
date Wed, 01 Feb 2012 19:47:49 +0100
parents 20da4fb67977
children 2e8fbf3bce7f
comparison
equal deleted inserted replaced
63:20da4fb67977 64:d9f5ae0b6d98
200 //TODO: stanza.features 200 //TODO: stanza.features
201 that.emit('features', stanza); 201 that.emit('features', stanza);
202 } 202 }
203 } 203 }
204 else if (name === 'challenge') { 204 else if (name === 'challenge') {
205 205 that.emit('challenge', stanza);
206
207 } 206 }
208 else if (name === 'response') { 207 else if (name === 'response') {
209 208
210 209
210 }
211 else if (name === 'failure') {
212 that.emit('failure', stanza);
211 } 213 }
212 else if (name === 'success') { 214 else if (name === 'success') {
213 that.emit('success', stanza); 215 that.emit('success', stanza);
214 } 216 }
215 else if(name === 'stream') { 217 else if(name === 'stream') {