You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am trying to authenticate session token and fetching user detaild but there is no information about how to do it at : http://docs.parseplatform.org/js/guide/#users
I tried to google it now i got some code but don't know whether the are correct they are not working for me
var Session = Parse.Object.extend("_Session");
var sq = new Parse.Query(Session);
sq.equalTo('sessionToken', userSessionToken)
sq.include('user');
console.log(sq);
sq.find({
success: function (sessionResult) {
if (sessionResult.length == 0) {
//user not found
} else {
//user found
}
},
error: function (error) { console.log(error); callback(false) }
});
i am trying to authenticate session token and fetching user detaild but there is no information about how to do it at : http://docs.parseplatform.org/js/guide/#users
I tried to google it now i got some code but don't know whether the are correct they are not working for me
always giving me error
The text was updated successfully, but these errors were encountered: