{"action":"opened","issue":{"url":"https://api.github.com/repos/opentok/token-encoder/issues/3","labels_url":"https://api.github.com/repos/opentok/token-encoder/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/opentok/token-encoder/issues/3/comments","events_url":"https://api.github.com/repos/opentok/token-encoder/issues/3/events","html_url":"https://github.com/opentok/token-encoder/issues/3","id":111857623,"number":3,"title":"Add a validate method","user":{"login":"crrobinson14","id":1675563,"avatar_url":"https://avatars.githubusercontent.com/u/1675563?v=3","gravatar_id":"","url":"https://api.github.com/users/crrobinson14","html_url":"https://github.com/crrobinson14","followers_url":"https://api.github.com/users/crrobinson14/followers","following_url":"https://api.github.com/users/crrobinson14/following{/other_user}","gists_url":"https://api.github.com/users/crrobinson14/gists{/gist_id}","starred_url":"https://api.github.com/users/crrobinson14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crrobinson14/subscriptions","organizations_url":"https://api.github.com/users/crrobinson14/orgs","repos_url":"https://api.github.com/users/crrobinson14/repos","events_url":"https://api.github.com/users/crrobinson14/events{/privacy}","received_events_url":"https://api.github.com/users/crrobinson14/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-16T15:44:58Z","updated_at":"2015-10-16T15:44:58Z","closed_at":null,"body":"It would be nice to have a \"validate\" method that took a token and verified that it was legitimate for a given session ID and properly signed. I know OpenTok must do this itself server-side, but neither this library nor the OpenTok node-js library provide one. I could send a PR for it but wanted to check with you here first in case you thought it would be more appropriate to submit to the opentok NodeJS SDK project."}}