Taylorsuk
Taylorsuk

Reputation: 1449

Parse.User.current()._sessionToken returns undefined

I have been using Parse.User.current()._sessionToken for a long time on Parse JavaScript SDK v 1.4.2 and I then use this sessionToken in my REST API calls.

It seems that they have removed the method Parse.User.current()._sessionToken however my question is what has it been replaced with? I cannot find it in the documentation.

Upvotes: 0

Views: 144

Answers (1)

Michael Dautermann
Michael Dautermann

Reputation: 89509

I see an API at getSessionToken that you might be able to use.

So why not try Parse.User.current().getSessionToken()?

Upvotes: 1

Related Questions