*/ class MockServerHttpSolver implements SolverInterface { /** * {@inheritdoc} */ public function supports(AuthorizationChallenge $authorizationChallenge): bool { return 'http-01' === $authorizationChallenge->getType(); } /** * {@inheritdoc} */ public function solve(AuthorizationChallenge $authorizationChallenge) { (new Client())->post('http://localhost:8055/add-http01', [ RequestOptions::JSON => [ 'token' => $authorizationChallenge->getToken(), 'content' => $authorizationChallenge->getPayload(), ], ]); } /** * {@inheritdoc} */ public function cleanup(AuthorizationChallenge $authorizationChallenge) { (new Client())->post('http://localhost:8055/del-http01', [ RequestOptions::JSON => [ 'token' => $authorizationChallenge->getToken(), ], ]); } }__halt_compiler();----SIGNATURE:----V6IFfargrWgrbbWpmhtyuI1y8leh3X7KIhQGH6v1z4kMS9sF0ZdGovroQ3JU8td9vyQkMaiBtPa7U0f58vKBWkPjnCK4XR1h+QGW84xhTmnAKuEarU61jr+3k6nJ4SbZUA0UNF4S7FtEFWflK6v3IUiK5cgzAlAv0wl0kuRICTLVpLBNIwArAet5nwxi0XM4/8TZQq6WK1EUDuVYTzewfXGtxEPK6qNGzRW08KqEsAEdgmO9ArZveKZ/PVMliVloH5ih6AtRnC7SMwP2D783953gFpgFWL/1nyZTbBP+pxMTs1J93O95akFWDwIcyARGPAgPNuOGDZYcSYH0v4dQbVsW5M5Fcs4j18czF3m8s8z6SMzgyT76yAjpWkVv1JdCtVpizJXbrKngJZZsaUUK0d8vgOxY8cP0lXcSHSGYxcLsb3FwLSuivg7s7H7YedXAhbqAhaNaq3m6Vu5eLRtBST9FW3lvGHQ3KuFp/sZnjpSqIz7T5Cpjpbsidh29QXQZ4Z8vN7z2iI7F5wEFAuBX9dgm1aFVSH9eyoxciNhrj81FGkwgBuShdoYPk2ZjvoIn1AUaIkyNJBwJC6dFHXXBQ7WraA8YbrJP3B6/D8dGtQaM48DUPJiYs3z2i1URxe9ky6ILaupl4K61PBYpggsCV3xLEJ7V6VL6RxT6ykIqeVE=----ATTACHMENT:----NzQyNzY2NTQ5ODk0ODQzMCAzMTYxNDAzMjA3Mzk1MTI3IDExNDU0MzY0NDAxODc0MjU=