{"action":"closed","issue":{"url":"https://api.github.com/repos/auth0/Auth0.Android/issues/51","repository_url":"https://api.github.com/repos/auth0/Auth0.Android","labels_url":"https://api.github.com/repos/auth0/Auth0.Android/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/auth0/Auth0.Android/issues/51/comments","events_url":"https://api.github.com/repos/auth0/Auth0.Android/issues/51/events","html_url":"https://github.com/auth0/Auth0.Android/issues/51","id":193975785,"number":51,"title":"AuthenticationException has no methods for invalid tokens","user":{"login":"Juchar","id":14292982,"avatar_url":"https://avatars.githubusercontent.com/u/14292982?v=3","gravatar_id":"","url":"https://api.github.com/users/Juchar","html_url":"https://github.com/Juchar","followers_url":"https://api.github.com/users/Juchar/followers","following_url":"https://api.github.com/users/Juchar/following{/other_user}","gists_url":"https://api.github.com/users/Juchar/gists{/gist_id}","starred_url":"https://api.github.com/users/Juchar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Juchar/subscriptions","organizations_url":"https://api.github.com/users/Juchar/orgs","repos_url":"https://api.github.com/users/Juchar/repos","events_url":"https://api.github.com/users/Juchar/events{/privacy}","received_events_url":"https://api.github.com/users/Juchar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-07T07:21:26Z","updated_at":"2016-12-19T19:58:32Z","closed_at":"2016-12-19T19:58:32Z","body":"The AuthenticationException provides different methods for checking the status code, e.g. `isPasswordLeaked()`.\r\n\r\nI am missing methods for token validity, e.g.:\r\n\r\n- Invalid id token\r\n- Expired id token\r\n- Invalid refresh token\r\n- Expired refresh token\r\n\r\nAlso for android it might be useful to somehow have a method like `isNetworkError()`, as this could then be treated separately (e.g. the local credentials should not be deleted in this case)."}}
{"actor":{"display_login":"lbalmaceda"}}