def revoke_token(self, token, headers=None, **kwargs):
        """
        Revoke an access token
        """
        self._check_configuration("site", "revoke_uri")
        url = "%s%s" % (self.site, quote(self.revoke_url))
        data = {'token': token}
        data.update(kwargs)

        return self._make_request(url, data=data, headers=headers)
def revoke_token ( self , token , headers = None , ** kwargs ) : self . _check_configuration ( "site" , "revoke_uri" ) url = "%s%s" % ( self . site , quote ( self . revoke_url ) ) data = { 'token' : token } data . update ( kwargs ) return self . _make_request ( url , data = data , headers = headers )
Revoke an access token