Total Complexity | 1 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class YahooConnectionFactory implements VendorConnectionFactory |
||
17 | { |
||
18 | /** |
||
19 | * Returns a Yahoo Connection instance using given credentials. Visit the following link for credentials. |
||
20 | * You must select 'Read/Write Public and Private' of 'Profiles (Social Directory)' API Permissions for this to work. |
||
21 | * @see https://developer.yahoo.com/apps |
||
22 | * |
||
23 | * @param string $clientId the client id which can be generated at the third party portal |
||
24 | * @param string $clientSecret this can be found similar to the clientId |
||
25 | * @param string $callbackUrl the url to callback after a third party auth attempt |
||
26 | * @return VendorConnection |
||
27 | */ |
||
28 | 1 | public function get($clientId, $clientSecret, $callbackUrl) |
|
40 |