| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class Google extends OAuth2 |
||
| 20 | { |
||
| 21 | protected string $authUrl = 'https://accounts.google.com/o/oauth2/auth'; |
||
| 22 | protected string $tokenUrl = 'https://accounts.google.com/o/oauth2/token'; |
||
| 23 | protected string $endpoint = 'https://www.googleapis.com/plus/v1'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return string service name. |
||
| 27 | */ |
||
| 28 | public function getName(): string |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string service title. |
||
| 35 | */ |
||
| 36 | public function getTitle(): string |
||
| 39 | } |
||
| 40 | |||
| 41 | protected function getDefaultScope(): string |
||
| 44 | } |
||
| 45 | |||
| 46 | protected function initUserAttributes(): array |
||
| 51 |