{"action":"created","issue":{"url":"https://api.github.com/repos/ideaq/hapi-auth-jwt2/issues/25","labels_url":"https://api.github.com/repos/ideaq/hapi-auth-jwt2/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/ideaq/hapi-auth-jwt2/issues/25/comments","events_url":"https://api.github.com/repos/ideaq/hapi-auth-jwt2/issues/25/events","html_url":"https://github.com/ideaq/hapi-auth-jwt2/issues/25","id":67500915,"number":25,"title":"Should we add the methods set() and clear() like hapi-auth-cookie?","user":{"login":"poeticninja","id":1514196,"avatar_url":"https://avatars.githubusercontent.com/u/1514196?v=3","gravatar_id":"","url":"https://api.github.com/users/poeticninja","html_url":"https://github.com/poeticninja","followers_url":"https://api.github.com/users/poeticninja/followers","following_url":"https://api.github.com/users/poeticninja/following{/other_user}","gists_url":"https://api.github.com/users/poeticninja/gists{/gist_id}","starred_url":"https://api.github.com/users/poeticninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poeticninja/subscriptions","organizations_url":"https://api.github.com/users/poeticninja/orgs","repos_url":"https://api.github.com/users/poeticninja/repos","events_url":"https://api.github.com/users/poeticninja/events{/privacy}","received_events_url":"https://api.github.com/users/poeticninja/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ideaq/hapi-auth-jwt2/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ideaq/hapi-auth-jwt2/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-10T03:32:17Z","updated_at":"2015-04-11T04:46:53Z","closed_at":null,"body":"My favorite auth plugin for Hapi at the moment is hapi-auth-cookie for how easy it is to get setup.  I can setup my settings with the plugin, in a route I can use `request.auth.session.set()` to authenticate a user and `request.auth.session.clear()` if I want to remove the users authentication.\r\n\r\nI am wanting to start using JSON Web Tokens but there seems to be more work for the same amount of steps. I am thinking the developer interface to this plugin could be a little more like hapi-auth-cookie and it would welcome more people to use it. I like the idea of where you are going and I could easily see this being THE auth plugin for hapi that everyone goes to.\r\n\r\nI am hoping you take this as constructive and as me seeing ways it could improve. It is already freaking awesome. :smile: \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ideaq/hapi-auth-jwt2/issues/comments/91760209","html_url":"https://github.com/ideaq/hapi-auth-jwt2/issues/25#issuecomment-91760209","issue_url":"https://api.github.com/repos/ideaq/hapi-auth-jwt2/issues/25","id":91760209,"user":{"login":"nelsonic","id":194400,"avatar_url":"https://avatars.githubusercontent.com/u/194400?v=3","gravatar_id":"","url":"https://api.github.com/users/nelsonic","html_url":"https://github.com/nelsonic","followers_url":"https://api.github.com/users/nelsonic/followers","following_url":"https://api.github.com/users/nelsonic/following{/other_user}","gists_url":"https://api.github.com/users/nelsonic/gists{/gist_id}","starred_url":"https://api.github.com/users/nelsonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelsonic/subscriptions","organizations_url":"https://api.github.com/users/nelsonic/orgs","repos_url":"https://api.github.com/users/nelsonic/repos","events_url":"https://api.github.com/users/nelsonic/events{/privacy}","received_events_url":"https://api.github.com/users/nelsonic/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T04:46:53Z","updated_at":"2015-04-11T04:46:53Z","body":"@poeticninja we are also behind on our deadline... :cry: \r\nAs soon as you have time let us know, we'd *love* to collaborate with you! :+1: "}}