code: def revoke(self):
          
          if self.access_token is None:
              raise InvalidInvocation("no token available to revoke")
  
          self._authenticator.revoke_token(self.access_token, "access_token")
          self._clear_access_token()
docs: Revoke the current Authorization.