Skips the authorization check.

@return $this
163012
public function skipAuthorization()
    {
        $request = $this->getController()->request;
        $service = $this->getService($request);

        $service->skipAuthorization();

        return $this;
    }
456522
public function onErrorSkipField(): self
    {
        $this->_validations[\count($this->_validations) - 1]['skip'] = self::SKIP_ONE;

        return $this;
    }
232332
public function andNot()
    {
        $args = func_get_args();
        call_user_func_array(array($this, 'andAdd'), $args);

        $value = array_pop($this->conditions);
        $value->not();
        $this->add($value);

        return $this;
    }
60016
public function flush() {
        $this->_attributes = [];
        $this->_original = [];
        $this->_changed = false;
        $this->_exists = false;
        $this->_errors = [];
        $this->_validator = null;

        return $this;
    }
953048
public function allow()
    {
        $roleNames = func_get_args();

        // Flatten array to allow array inputs
        $roleNames = Core::array_flatten($roleNames);

        foreach ($roleNames as $role) {

            if (!in_array($role, $this->allowedRoles)) {
                $this->allowedRoles[] = $role;
            }
        }

        return $this;
    }
65627
public function skip(...$middleware) : self
    {
        foreach ($middleware as $m) {
            unset($this->globalMiddleware[$m]);
        }

        return $this;
    }
977767
public function cancelNow()
    {
        $subscription = $this->asBraintreeSubscription();

        BraintreeSubscription::cancel($subscription->id);

        $this->markAsCancelled();

        return $this;
    }
1101341
protected function _isAllowed()
    {
        $result = parent::_isAllowed();
        $result = $result && $this->_authorization->isAllowed($this->_aclResource);
        return $result;
    }
635756
public function clear()
    {
        if (!self::$session) {
            Exception::i()->setMessage(self::ERROR_NOT_STARTED)->trigger();
        }

        $_SESSION = array();

        return $this;
    }
896203
public function setAsNotModified()
    {
        $this->setStatusCode(304);
        $this->setContent('');

        // remove headers that MUST NOT be included with 304 Not Modified responses
        $headersToRemove = [
            'Allow',
            'Content-Encoding',
            'Content-Language',
            'Content-Length',
            'Content-MD5',
            'Content-Type',
            'Last-Modified'
        ];
        foreach ($headersToRemove as $header) {
            $this->headers->removeKey($header);
        }

        return $this;
    }
265013
public function withoutRedirecting(): self
    {
        return tap($this, function ($request) {
            return $this->options = array_merge_recursive($this->options, [
                'allow_redirects' => false,
            ]);
        });
    }
1009168
public function skip($number)
    {
        $this->iterator = Iterators::skip($this->iterator, $number);
        return $this;
    }
9416
public function clear()
    {
        $this->aCss            = [];
        $this->aCssInline      = [];
        $this->aJs             = [];
        $this->aJsInlineHeader = [];
        $this->aJsInlineFooter = [];
        return $this;
    }
983533
public function isAlphaDash() {
        $this->check_role = 'alphaDash';
        $result = $this->checkRegex($this->value, '/^[A-Za-z0-9\-\_]+$/');
        $this->checkResult($result);
        return $this;
    }
1095742
public function ignoreAuthor($author)
    {
        $this->ignoredAuthors[$this->arrayKey($author)] = \trim($author);

        return $this;
    }
884156
public function forceAuthentication()
    {
        phpCAS::traceBegin();

        if ( $this->isAuthenticated() ) {
            // the user is authenticated, nothing to be done.
            phpCAS::trace('no need to authenticate');
            $res = true;
        } else {
            // the user is not authenticated, redirect to the CAS server
            if (isset($_SESSION['phpCAS']['auth_checked'])) {
                unset($_SESSION['phpCAS']['auth_checked']);
            }
            $this->redirectToCas(false/* no gateway */);
            // never reached
            $res = false;
        }
        phpCAS::traceEnd($res);
        return $res;
    }
246706
public function reset(): self
    {
        $this->position = 0;
        $this->current = isset($this->tokens[$this->position]) ? $this->tokens[$this->position] : self::$eoi;
        return $this;
    }