{"action":"created","issue":{"url":"https://api.github.com/repos/dingo/api/issues/513","labels_url":"https://api.github.com/repos/dingo/api/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/dingo/api/issues/513/comments","events_url":"https://api.github.com/repos/dingo/api/issues/513/events","html_url":"https://github.com/dingo/api/issues/513","id":94257158,"number":513,"title":"explicitly expire token JWT","user":{"login":"SnehalAmbab","id":11923992,"avatar_url":"https://avatars.githubusercontent.com/u/11923992?v=3","gravatar_id":"","url":"https://api.github.com/users/SnehalAmbab","html_url":"https://github.com/SnehalAmbab","followers_url":"https://api.github.com/users/SnehalAmbab/followers","following_url":"https://api.github.com/users/SnehalAmbab/following{/other_user}","gists_url":"https://api.github.com/users/SnehalAmbab/gists{/gist_id}","starred_url":"https://api.github.com/users/SnehalAmbab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SnehalAmbab/subscriptions","organizations_url":"https://api.github.com/users/SnehalAmbab/orgs","repos_url":"https://api.github.com/users/SnehalAmbab/repos","events_url":"https://api.github.com/users/SnehalAmbab/events{/privacy}","received_events_url":"https://api.github.com/users/SnehalAmbab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-10T09:09:12Z","updated_at":"2015-07-10T09:36:17Z","closed_at":null,"body":"Hello,\r\n\r\nHow can we explicitly expire the previous token on re-login or logout functionality?\r\n\r\nPlease let me know as soon as possible."},"comment":{"url":"https://api.github.com/repos/dingo/api/issues/comments/120320527","html_url":"https://github.com/dingo/api/issues/513#issuecomment-120320527","issue_url":"https://api.github.com/repos/dingo/api/issues/513","id":120320527,"user":{"login":"catalinux","id":2072712,"avatar_url":"https://avatars.githubusercontent.com/u/2072712?v=3","gravatar_id":"","url":"https://api.github.com/users/catalinux","html_url":"https://github.com/catalinux","followers_url":"https://api.github.com/users/catalinux/followers","following_url":"https://api.github.com/users/catalinux/following{/other_user}","gists_url":"https://api.github.com/users/catalinux/gists{/gist_id}","starred_url":"https://api.github.com/users/catalinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catalinux/subscriptions","organizations_url":"https://api.github.com/users/catalinux/orgs","repos_url":"https://api.github.com/users/catalinux/repos","events_url":"https://api.github.com/users/catalinux/events{/privacy}","received_events_url":"https://api.github.com/users/catalinux/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T09:36:17Z","updated_at":"2015-07-10T09:36:17Z","body":"@SnehalAmbab that is the only code you need to. Having a token, you could invalidate. You could get that throug GET.\r\n\r\n```php\r\n function deleteToken()\r\n    {\r\n\r\n        $data = Input::all();\r\n        $token = $data['token'];\r\n        \\Tymon\\JWTAuth\\Facades\\JWTAuth::invalidate($token);\r\n\r\n        return json_encode(['response' => 'success']);\r\n    }\r\n"}}