1 | <?php |
||
17 | class OAuth extends AbstractProvider { |
||
18 | use BearerAuthorizationTrait; |
||
19 | |||
20 | public $scopes = ['write']; |
||
21 | public $responseType = 'json'; |
||
22 | |||
23 | /** |
||
24 | * @see AbstractProvider::urlAuthorize |
||
25 | */ |
||
26 | 1 | public function urlAuthorize() |
|
30 | |||
31 | /** |
||
32 | * @see AbstractProvider::urlAccessToken |
||
33 | */ |
||
34 | 1 | public function urlAccessToken() |
|
38 | |||
39 | /** |
||
40 | * @see AbstractProvider::urlUserDetails |
||
41 | */ |
||
42 | 1 | public function urlUserDetails(AccessToken $token) |
|
46 | |||
47 | /** |
||
48 | * @see AbstractProvider::userDetails |
||
49 | */ |
||
50 | 1 | public function userDetails($response, AccessToken $token) |
|
65 | |||
66 | /** |
||
67 | * @see AbstractProvider::userUid |
||
68 | */ |
||
69 | 1 | public function userUid($response, AccessToken $token) |
|
73 | |||
74 | /** |
||
75 | * @see AbstractProvider::userEmail |
||
76 | */ |
||
77 | 1 | public function userEmail($response, AccessToken $token) |
|
81 | |||
82 | /** |
||
83 | * @see AbstractProvider::userScreenName |
||
84 | */ |
||
85 | 1 | public function userScreenName($response, AccessToken $token) |
|
89 | |||
90 | /** |
||
91 | * @see AbstractProvider::getBaseAuthorizationUrl |
||
92 | */ |
||
93 | public function getBaseAuthorizationUrl() |
||
97 | |||
98 | /** |
||
99 | * @see AbstractProvider::getBaseAccessTokenUrl |
||
100 | */ |
||
101 | public function getBaseAccessTokenUrl(array $params) |
||
105 | |||
106 | /** |
||
107 | * @see AbstractProvider::getResourceOwnerDetailsUrl |
||
108 | */ |
||
109 | public function getResourceOwnerDetailsUrl(AccessToken $token) |
||
113 | |||
114 | /** |
||
115 | * @see AbstractProvider::getDefaultScopes |
||
116 | */ |
||
117 | protected function getDefaultScopes() |
||
121 | |||
122 | /** |
||
123 | * @see AbstractProvider::checkResponse |
||
124 | */ |
||
125 | protected function checkResponse(ResponseInterface $response, $data) |
||
128 | |||
129 | /** |
||
130 | * @see AbstractProvider::createResourceOwner |
||
131 | */ |
||
132 | protected function createResourceOwner(array $response, AccessToken $token) |
||
135 | } |
||
136 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.