GitHub OAuth 注销或撤销令牌

tyn*_*ynn 7 javascript oauth github logout github-api

要使用GitHub应用程序对用户进行身份验证,我们只需要向loginapi发出两个请求:

GET https://github.com/login/oauth/authorize
POST https://github.com/login/oauth/access_token
Run Code Online (Sandbox Code Playgroud)

现在我们已经使用了token,我们如何撤销它以注销用户?