src/CasRestClient.php
private function writeTGTtoFile($tgtStorageLocation, $tgt)
    {
        $tgtStorageData = [
            'TGT' => $tgt,
            'username' => $this->casUsername,
            'server' => $this->casServer,
            'context' => $this->casRESTcontext,
            'saved' => time()
        ];

        file_put_contents($tgtStorageLocation, json_encode($tgtStorageData));
    }
private function writeTGTtoFile($tgtStorageLocation, $tgt)
    {
        $tgtStorageData = [
            'TGT' => $tgt,
            'username' => $this->casUsername,
            'server' => $this->casServer,
            'context' => $this->casRESTcontext,
            'saved' => time()
        ];

        file_put_contents($tgtStorageLocation, json_encode($tgtStorageData));
    }
private function writeTGTtoFile ( $ tgtStorageLocation , $ tgt ) { $ tgtStorageData = [ 'TGT' => $ tgt , 'username' => $ this -> casUsername , 'server' => $ this -> casServer , 'context' => $ this -> casRESTcontext , 'saved' => time ( ) ] ; file_put_contents ( $ tgtStorageLocation , json_encode ( $ tgtStorageData ) ) ; }
Save the TGT data to a local file

@param string $tgtStorageLocation
@param string $tgt
Save the TGT data to a local file