def validate_revocation_request(self, request):
        if not request.token:
            raise InvalidRequestError(request=request,
                                      description='Missing token parameter.')

        if self.request_validator.client_authentication_required(request):
            if not self.request_validator.authenticate_client(request):
                raise InvalidClientError(request=request)

        if (request.token_type_hint and
                request.token_type_hint in self.valid_token_types and
                request.token_type_hint not in self.supported_token_types):
            raise UnsupportedTokenTypeError(request=request)
Ensure the request is valid.
dataset/ETHPy150Open idan/oauthlib/oauthlib/oauth2/rfc6749/endpoints/revocation.py/RevocationEndpoint.validate_revocation_request