def METHOD_NAME(
    claims: Mapping[str, str],
    path: str,
    query_params: Mapping[str, str] | None,
    method: str,
) -> None:
    # Verify the query has not been tampered by Creating a Query Hash
    # and comparing it against the qsh claim on the verified token.
    qsh = get_query_hash(path, method, query_params)
    if qsh != claims["qsh"]:
        raise AtlassianConnectValidationError("Query hash mismatch")