1 | <?php |
||
25 | class MetadataController implements MiddlewareInterface |
||
26 | { |
||
27 | /** |
||
28 | * @var MetadataEndpoint |
||
29 | */ |
||
30 | private $metadataEndpoint; |
||
31 | |||
32 | /** |
||
33 | * MetadataController constructor. |
||
34 | * |
||
35 | * @param ResponseFactoryInterface $responseFactory |
||
36 | * @param MetadataBuilder $metadataBuilder |
||
37 | */ |
||
38 | public function __construct(ResponseFactoryInterface $responseFactory, MetadataBuilder $metadataBuilder) |
||
43 | |||
44 | /** |
||
45 | * @param SignerInterface $signer |
||
46 | * @param JWKSetInterface $signatureKeySet |
||
47 | * @param string $signatureAlgorithm |
||
48 | */ |
||
49 | public function enableSignedMetadata(SignerInterface $signer, string $signatureAlgorithm, JWKSetInterface $signatureKeySet) |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function process(ServerRequestInterface $request, DelegateInterface $delegate) |
||
61 | } |
||
62 |