public function authenticate() { $service = $this->prepareService(); $this->authenticated = true; return $this->auth->authenticate($service); }