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