You can use the
getGameAuthToken function to retrieve the game authentication token for the current user for use with the server-side authentication API. All guest users have the same authentication token, and do not need to be authenticated by your server.
|Return value||String||The authentication token for the user.|
You should not assume that the authentication token will remain the same for each user, as it will change any time a user changes their password.
var token:String = kongregate.services.getGameAuthToken();
var token = kongregate.services.getGameAuthToken();