hasAttributes() 공개 메소드

Check whether attributes are available
public hasAttributes ( ) : boolean
리턴 boolean attributes available
예제 #1
0
파일: CAS.php 프로젝트: DCUnit711/Demeter
 /**
  * Answer true if there are attributes for the authenticated user.
  *
  * @warning should only be called after phpCAS::forceAuthentication()
  * or phpCAS::checkAuthentication().
  *
  * @return bool
  */
 public static function hasAttributes()
 {
     phpCAS::_validateClientExists();
     try {
         return self::$_PHPCAS_CLIENT->hasAttributes();
     } catch (Exception $e) {
         phpCAS::error(get_class($e) . ': ' . $e->getMessage());
     }
 }