Given a token, verify what privileges it has assigned. Check https://developer.github.com/v3/oauth_authorizations/#check-an-authorization