| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 18 | private function registerIssuer(): void |
||
| 19 | { |
||
| 20 | $this->app->bind(Issuer::class, function () { |
||
| 21 | $config = $this->app->get('config'); |
||
| 22 | |||
| 23 | $pool = $config->get('auth.cognito.pool'); |
||
| 24 | |||
| 25 | $region = $config->get('auth.cognito.region'); |
||
| 26 | |||
| 27 | return new Issuer($pool, $region); |
||
| 28 | }); |
||
| 38 |