Exemplo n.º 1
0
 /**
  * @return Loader
  */
 protected function getLoader()
 {
     $loader = new Loader();
     $loader->setCompressionManager($this->getCompressionManager())->setJWTManager($this->getJWTManager())->setJWKManager($this->getJWKManager())->setJWKSetManager($this->getJWKSetManager())->setJWAManager($this->getJWAManager())->setCheckerManager($this->getCheckerManager())->setPayloadConverter($this->getPayloadConverterManager());
     return $loader;
 }
Exemplo n.º 2
0
 /**
  *
  */
 private function setLoader()
 {
     $this->container['Loader'] = function ($c) {
         $loader = new Loader();
         $loader->setPayloadConverter($c['PayloadConverterManager'])->setCompressionManager($c['CompressionManager'])->setCheckerManager($c['CheckerManager'])->setJWAManager($c['JWAManager'])->setJWKManager($c['JWKManager'])->setJWKSetManager($c['JWKSetManager'])->setJWTManager($c['JWTManager']);
         return $loader;
     };
 }