mollie / oauth2-mollie-php

Mollie provider for league/oauth2-client
BSD 2-Clause "Simplified" License
22 stars 12 forks source link

Missing information about how to integrate with mollie-api-php #30

Closed timmipetit closed 1 year ago

timmipetit commented 1 year ago

Information about how to use an access token generation by this library in combination with the mollie PHP API client seems to be missing. I would suggest updating the documentation with something like this:

$mollie = new \Mollie\Api\MollieApiClient();
$mollie->setAccessToken($token);
sandervanhooft commented 1 year ago

All done! Thanks for reporting.

https://github.com/mollie/oauth2-mollie-php/blob/master/README.md#authenticating-using-the-accesstoken-mollie-api-php-example