/** * @return Signer */ protected function getSigner() { $signer = new Signer(); $signer->setJWTManager($this->getJWTManager())->setJWKManager($this->getJWKManager())->setJWKSetManager($this->getJWKSetManager())->setJWAManager($this->getJWAManager())->setPayloadConverter($this->getPayloadConverterManager()); return $signer; }
/** * */ private function setSigner() { $this->container['Signer'] = function ($c) { $signer = new Signer(); $signer->setPayloadConverter($c['PayloadConverterManager'])->setJWAManager($c['JWAManager'])->setJWKManager($c['JWKManager'])->setJWKSetManager($c['JWKSetManager'])->setJWTManager($c['JWTManager']); return $signer; }; }