authenticate() public method

Authenticate the user.
public authenticate ( ) : boolean
return boolean whether user was successfuly authenticated.
 /**
  * Authenticate the user.
  * @return boolean whether user was successfuly authenticated.
  */
 public function authenticate()
 {
     if (isset($_GET['error']) && $_GET['error'] == 'user_denied') {
         $this->cancel();
     }
     return parent::authenticate();
 }