| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | public function __invoke(): Response |
||
| 45 | { |
||
| 46 | return new Response( |
||
| 47 | json_encode($this->jwkset), |
||
| 48 | Response::HTTP_OK, |
||
| 49 | [ |
||
| 50 | 'Content-Type' => 'application/jwk-set+json; charset=UTF-8', |
||
| 51 | 'Cache-Control' => sprintf('public, max-age=%d, must-revalidate, no-transform', $this->maxAge) |
||
| 52 | ] |
||
| 53 | ); |
||
| 54 | } |
||
| 55 | } |
||
| 56 |