This method is called to renew the authentication of the user
If the user is authenticated, renew the connection
If not, redirect to CAS
public renewAuthentication ( ) : true | ||
Résultat | true | when the user is authenticated; otherwise halt. |
/** * This method is called to renew the authentication. * * @return void **/ public static function renewAuthentication() { phpCAS::traceBegin(); phpCAS::_validateClientExists(); $auth = self::$_PHPCAS_CLIENT->renewAuthentication(); // store where the authentication has been checked and the result self::$_PHPCAS_CLIENT->markAuthenticationCall($auth); //self::$_PHPCAS_CLIENT->renewAuthentication(); phpCAS::traceEnd(); }