go-oauth2/oauth2

How to revoke all access tokens for a given user?

dergus opened this issue · 1 comments

Is is possible to revoke all access tokens by a user id?
I've looked through code but couldn't find a way to do it.

Access and Refresh Tokens are stored in an oauth2.TokenStore. The mechanism to revoke all access tokens should be present in your TokenStore implementation if you need that.