{"action":"closed","issue":{"url":"https://api.github.com/repos/ryanfitz/hapi-auth-jwt/issues/24","labels_url":"https://api.github.com/repos/ryanfitz/hapi-auth-jwt/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/ryanfitz/hapi-auth-jwt/issues/24/comments","events_url":"https://api.github.com/repos/ryanfitz/hapi-auth-jwt/issues/24/events","html_url":"https://github.com/ryanfitz/hapi-auth-jwt/issues/24","id":59794610,"number":24,"title":"Validate Function should have access to request","user":{"login":"ShujaatTariq","id":5845858,"avatar_url":"https://avatars.githubusercontent.com/u/5845858?v=3","gravatar_id":"","url":"https://api.github.com/users/ShujaatTariq","html_url":"https://github.com/ShujaatTariq","followers_url":"https://api.github.com/users/ShujaatTariq/followers","following_url":"https://api.github.com/users/ShujaatTariq/following{/other_user}","gists_url":"https://api.github.com/users/ShujaatTariq/gists{/gist_id}","starred_url":"https://api.github.com/users/ShujaatTariq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShujaatTariq/subscriptions","organizations_url":"https://api.github.com/users/ShujaatTariq/orgs","repos_url":"https://api.github.com/users/ShujaatTariq/repos","events_url":"https://api.github.com/users/ShujaatTariq/events{/privacy}","received_events_url":"https://api.github.com/users/ShujaatTariq/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-04T13:03:43Z","updated_at":"2015-08-27T00:11:26Z","closed_at":"2015-08-27T00:11:26Z","body":"Would it not be better if the validate function has access to the request object so that other plugins can be accessed and used for validation for. e.g. checking redis for token and fetching cached info?"}}