Exemple #1
0
 /** Checks Credentials of user
  * @param $username
  * @param $password
  * @return bool|\ResultLogin
  */
 public function checkCredentials($username, $password)
 {
     $this->ePSFacade->setUsername($username);
     $this->ePSFacade->setPassword($password);
     try {
         return $this->ePSFacade->login();
     } catch (\ClientException $ce) {
         return FALSE;
     } catch (\ServerException $se) {
         return FALSE;
     }
 }