Skip to content

Instantly share code, notes, and snippets.

@zuk
Created February 4, 2011 22:32
Show Gist options
  • Save zuk/811910 to your computer and use it in GitHub Desktop.
Save zuk/811910 to your computer and use it in GitHub Desktop.
$(document).ready(function() {
rollcall = new S3.Rollcall('http://proto.encorelab.org:7070')
token = rollcall.getCurrentToken()
rollcall.fetchSessionForToken(token, function(data) {
console.log(data.session.user.username)
console.log(data.session.user.encrypted_password)
// log in to xmpp from here using those credentials
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment