| Total Complexity | 1 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 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 | * @see https://developer.yahoo.com/apps |
||
| 21 | * |
||
| 22 | * @param string $clientId the client id which can be generated at the third party portal |
||
| 23 | * @param string $clientSecret this can be found similar to the clientId |
||
| 24 | * @param string $callbackUrl the url to callback after a third party auth attempt |
||
| 25 | * @return VendorConnection |
||
| 26 | */ |
||
| 27 | 1 | public function get($clientId, $clientSecret, $callbackUrl) |
|
| 39 |