Skip to content

Commit

Permalink
Merge pull request #10 from holtkamp/patch-2
Browse files Browse the repository at this point in the history
Add missing scopes
  • Loading branch information
Willem Stuursma-Ruwen authored Jun 20, 2018
2 parents 3cd3966 + 6630ddf commit 656e098
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Provider/Mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,21 @@ class Mollie extends AbstractProvider
* In order to access the Mollie API endpoints on behalf of your app user, your
* app should request the appropriate scope permissions.
*
* @see https://www.mollie.com/en/docs/oauth/permissions
* @see https://docs.mollie.com/oauth/permissions
*/
const SCOPE_PAYMENTS_READ = 'payments.read';
const SCOPE_PAYMENTS_WRITE = 'payments.write';
const SCOPE_REFUNDS_READ = 'refunds.read';
const SCOPE_REFUNDS_WRITE = 'refunds.write';
const SCOPE_CUSTOMERS_READ = 'customers.read';
const SCOPE_CUSTOMERS_WRITE = 'customers.write';
const SCOPE_MANDATES_READ = 'mandates.read';
const SCOPE_MANDATES_WRITE = 'mandates.write';
const SCOPE_SUBSCRIPTIONS_READ = 'subscriptions.read';
const SCOPE_SUBSCRIPTIONS_WRITE = 'subscriptions.write';
const SCOPE_PROFILES_READ = 'profiles.read';
const SCOPE_PROFILES_WRITE = 'profiles.write';
const SCOPE_INVOICES_READ = 'invoices.read';
const SCOPE_SETTLEMENTS_READ = 'settlements.read';
const SCOPE_ORGANIZATIONS_READ = 'organizations.read';
const SCOPE_ORGANIZATIONS_WRITE = 'organizations.write';
Expand Down Expand Up @@ -151,4 +156,4 @@ protected function createResourceOwner (array $response, AccessToken $token)
{
return new MollieResourceOwner($response);
}
}
}

0 comments on commit 656e098

Please sign in to comment.