Last modified: 2014-02-12 23:52:48 UTC
Currently it returns the raw response from the api which is a pain to dissect. Ideally it should return the token itself or false It also has 3 arguments that are in a confusing order - callback before endpoint. We should rethink this - possibly using a deferred object.
https://gerrit.wikimedia.org/r/52317