Lcobucci\JWT\Configuration::setSigner PHP Method

setSigner() public method

public setSigner ( Lcobucci\JWT\Signer $signer )
$signer Lcobucci\JWT\Signer
    public function setSigner(Signer $signer)
    {
        $this->signer = $signer;
    }

Usage Example

Example #1
0
 /**
  * @before
  */
 public function createConfiguration()
 {
     $this->config = new Configuration();
     $this->config->setSigner(Sha256::create());
 }
All Usage Examples Of Lcobucci\JWT\Configuration::setSigner