def METHOD_NAME(self, request):
    """Raise error on missing token."""
    if not request.token:
        raise InvalidRequestError(request=request,
                                  description='Missing token parameter.')