Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | class OAuth { |
||
30 | |||
31 | private $url; |
||
32 | private $api; |
||
33 | |||
34 | public function __construct(ApiInterface $api) |
||
35 | { |
||
36 | $this->api = $api; |
||
37 | $this->url = 'https://api-ssl.bitly.com'; |
||
38 | } |
||
39 | |||
40 | /* |
||
41 | OAuth web flow |
||
42 | https://dev.bitly.com/docs/getting-started/authentication |
||
43 | */ |
||
44 | public function getOAuthToken(array $params) |
||
47 | } |
||
48 | |||
50 |