| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class BigCartel extends OAuth2Provider implements CSRFToken{ |
||
| 25 | |||
| 26 | protected string $authURL = 'https://my.bigcartel.com/oauth/authorize'; |
||
| 27 | protected string $accessTokenURL = 'https://api.bigcartel.com/oauth/token'; |
||
| 28 | protected string $apiURL = 'https://api.bigcartel.com/v1'; |
||
| 29 | protected ?string $userRevokeURL = 'https://my.bigcartel.com/account'; |
||
| 30 | protected ?string $revokeURL = 'https://api.bigcartel.com/oauth/deauthorize/{ACCOUNT_ID}'; // @todo |
||
| 31 | protected ?string $apiDocs = 'https://developers.bigcartel.com/api/v1'; |
||
| 32 | protected ?string $applicationURL = 'https://bigcartel.wufoo.com/forms/big-cartel-api-application/'; |
||
| 33 | protected array $apiHeaders = ['Accept' => 'application/vnd.api+json']; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritDoc |
||
| 37 | */ |
||
| 38 | public function me():ResponseInterface{ |
||
| 56 |