public function filterByApiAuthType($apiAuthType = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($apiAuthType)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $apiAuthType)) {
                $apiAuthType = str_replace('*', '%', $apiAuthType);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(RemoteAppPeer::API_AUTH_TYPE, $apiAuthType, $comparison);
    }