ApiCommon.php 301 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <?php namespace App\Service; class ApiCommon implements API { function getAuthLink() { return 'https://oauth.yandex.ru/authorize?response_type=code&client_id=' . config('api.yandex.id'); } function getToken($code) { // TODO: Implement getToken() method. } }