{"action":"opened","issue":{"url":"https://api.github.com/repos/auth0/node-jsonwebtoken/issues/82","labels_url":"https://api.github.com/repos/auth0/node-jsonwebtoken/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/auth0/node-jsonwebtoken/issues/82/comments","events_url":"https://api.github.com/repos/auth0/node-jsonwebtoken/issues/82/events","html_url":"https://github.com/auth0/node-jsonwebtoken/issues/82","id":69994234,"number":82,"title":"Sign method should return object instead of string","user":{"login":"jtwebman","id":543790,"avatar_url":"https://avatars.githubusercontent.com/u/543790?v=3","gravatar_id":"","url":"https://api.github.com/users/jtwebman","html_url":"https://github.com/jtwebman","followers_url":"https://api.github.com/users/jtwebman/followers","following_url":"https://api.github.com/users/jtwebman/following{/other_user}","gists_url":"https://api.github.com/users/jtwebman/gists{/gist_id}","starred_url":"https://api.github.com/users/jtwebman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtwebman/subscriptions","organizations_url":"https://api.github.com/users/jtwebman/orgs","repos_url":"https://api.github.com/users/jtwebman/repos","events_url":"https://api.github.com/users/jtwebman/events{/privacy}","received_events_url":"https://api.github.com/users/jtwebman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-22T01:24:04Z","updated_at":"2015-04-22T01:24:04Z","closed_at":null,"body":"It would be nice if the sign method actually returned an object wit the token string as a property and the expire date time and other values. I need to add it to a database so I can verify it is a valid token so I now end up having to verify the token right after signing it so I can load them into a database.\r\n\r\nI know this is a requirement but it is for our security to still verify the key when it comes back. I hope to eventually take this out once JWT is more solid and excepted. Any help on convincing management on this would be great as well."}}