def METHOD_NAME(self, data: bytes) -> None:
    h = HMAC(self._signing_key, hashes.SHA256())
    h.update(data[:-32])
    try:
        h.verify(data[-32:])
    except InvalidSignature:
        raise InvalidToken