Can I set a token to access Javascript SDK?

EmilyroNew Memberfrom Taipei:, TWRegistered: 2011-08-12 Posts: 4

I need to retrieve status information of a specific user. I already gave the offline_access and saved my db the access token.

PHP SDK, you can set access token to retrieve the user's information.
However, I still need Javascript SDK to view certain information such as logon mode.

Is there a way to define the access token in Javascript SDK?