How to get the session token of a user parse.com in Node
The documentation forParse.User.become()
says that one argument should be passed to the become
session token. Where is this JavaScript API token used officially?
I don't see a call to bind an arbitrary identifier (like a session cookie) to a custom Parse object, so I am assuming it is the same returning a session token using the REST API , and not one created by my own session manager.
So far, I've only seen two ways to get this, a fielduser._sessionToken
, and a field in response to a REST API login call . The first is more convenient for me, since I still do not use the REST API, but it has that drum at the beginning of the name, which indicates a danger. However, I don't see any explicit documentation of either.
source to share