Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | final class Live extends OAuth2 |
||
18 | { |
||
19 | protected string $authUrl = 'https://login.live.com/oauth20_authorize.srf'; |
||
20 | protected string $tokenUrl = 'https://login.live.com/oauth20_token.srf'; |
||
21 | protected string $endpoint = 'https://apis.live.net/v5.0'; |
||
22 | |||
23 | /** |
||
24 | * @return string service name. |
||
25 | */ |
||
26 | public function getName(): string |
||
27 | { |
||
28 | return 'live'; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return string service title. |
||
33 | */ |
||
34 | public function getTitle(): string |
||
35 | { |
||
36 | return 'Live'; |
||
37 | } |
||
38 | |||
39 | protected function getDefaultScope(): string |
||
42 | } |
||
43 | |||
44 | protected function initUserAttributes(): array |
||
49 |