Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | class OpenStreetmap extends OAuth1Provider{ |
||
25 | |||
26 | protected string $requestTokenURL = 'https://www.openstreetmap.org/oauth/request_token'; |
||
27 | protected string $authURL = 'https://www.openstreetmap.org/oauth/authorize'; |
||
28 | protected string $accessTokenURL = 'https://www.openstreetmap.org/oauth/access_token'; |
||
29 | protected string $apiURL = 'https://api.openstreetmap.org'; |
||
30 | protected ?string $apiDocs = 'https://wiki.openstreetmap.org/wiki/API'; |
||
31 | protected ?string $applicationURL = 'https://www.openstreetmap.org/user/{USERNAME}/oauth_clients'; |
||
32 | |||
33 | /** |
||
34 | * @inheritDoc |
||
35 | */ |
||
36 | public function me(bool $json = true):ResponseInterface{ |
||
54 |