isSessionAuthenticated() 공개 메소드

This method tells if the current session is authenticated.
public isSessionAuthenticated ( ) : true
리턴 true if authenticated based soley on $_SESSION variable
예제 #1
0
파일: CAS.php 프로젝트: DCUnit711/Demeter
 /**
  * Checks whether authenticated based on $_SESSION. Useful to avoid
  * server calls.
  *
  * @return bool true if authenticated, false otherwise.
  * @since 0.4.22 by Brendan Arnold
  */
 public static function isSessionAuthenticated()
 {
     phpCAS::_validateClientExists();
     return self::$_PHPCAS_CLIENT->isSessionAuthenticated();
 }