wiremock-php icon indicating copy to clipboard operation
wiremock-php copied to clipboard

Add authentication support for WireMock Cloud (wiremock.io)

Open lstrojny opened this issue 10 months ago • 0 comments

Enables wiremock-php to work with wiremock.io without breaking backwards compatibility. This is how it works:

$curl = new Curl(new TokenAuthenticator($token));
$client = new WireMock(new HttpWait($curl), $curl, SerializerFactory::default(), $host, 443, 'https');

lstrojny avatar Apr 09 '24 16:04 lstrojny