public function authenticate() { $result = $this->authenticator->authenticate(); if ($result) { $this->output->writeQueued('Authorization succeeded.' . PHP_EOL, 'output highlight'); } else { $this->output->writeQueued('Authorization failed.' . PHP_EOL, 'error highlight'); } return $result; }