| Conditions | 2 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | 4 | public function __construct( |
|
| 25 | IssuerMetadataInterface $metadata, |
||
| 26 | JWKSet $jwks, |
||
| 27 | ?JKUFactory $JKUFactory = null |
||
| 28 | ) { |
||
| 29 | 4 | $this->metadata = $metadata; |
|
| 30 | 4 | $this->jwks = $jwks; |
|
| 31 | 4 | $this->JKUFactory = $JKUFactory ?: new JKUFactory( |
|
| 32 | 1 | Psr18ClientDiscovery::find(), |
|
| 33 | 1 | Psr17FactoryDiscovery::findRequestFactory() |
|
| 34 | ); |
||
| 55 |