phpCAS::setPGTStorage PHP 메소드

setPGTStorage() 공개 정적인 메소드

This method can be used to set a custom PGT storage object.
public static setPGTStorage ( CAS_PGTStorage $storage ) : void
$storage CAS_PGTStorage a PGT storage object that inherits from the CAS_PGTStorage class
리턴 void
    public static function setPGTStorage($storage)
    {
        phpCAS::traceBegin();
        phpCAS::_validateProxyExists();
        try {
            self::$_PHPCAS_CLIENT->setPGTStorage($storage);
        } catch (Exception $e) {
            phpCAS::error(get_class($e) . ': ' . $e->getMessage());
        }
        phpCAS::traceEnd();
    }