| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function build(array $state): ProcessingChain |
||
| 33 | { |
||
| 34 | $idpMetadata = [ |
||
| 35 | 'entityid' => $state['Source']['entityid'] ?? '', |
||
| 36 | // ProcessChain needs to know the list of authproc filters we defined in casserver configuration |
||
| 37 | 'authproc' => $this->casconfig->getOptionalArray('authproc', []), |
||
| 38 | ]; |
||
| 39 | $spMetadata = [ |
||
| 40 | 'entityid' => $state['Destination']['entityid'] ?? '', |
||
| 41 | ]; |
||
| 42 | |||
| 43 | return new ProcessingChain( |
||
| 44 | $idpMetadata, |
||
| 45 | $spMetadata, |
||
| 46 | 'casserver', |
||
| 47 | ); |
||
| 50 |