Oauth/Client/Provider/Draugiem/Draugiem.php 1 location
|
@@ 60-63 (lines=4) @@
|
| 57 |
|
|
| 58 |
|
protected function checkResponse(ResponseInterface $response, $data) |
| 59 |
|
{ |
| 60 |
|
if (!empty($data['error'])) { |
| 61 |
|
$message = $data['error']['description']; |
| 62 |
|
throw new IdentityProviderException('error_draugiem_bad_response', $data['error']['code'], $response); |
| 63 |
|
} |
| 64 |
|
} |
| 65 |
|
|
| 66 |
|
public function getClientSecret() |
Oauth/Client/Provider/Facebook/Facebook.php 1 location
|
@@ 132-135 (lines=4) @@
|
| 129 |
|
|
| 130 |
|
protected function checkResponse(ResponseInterface $response, $data) |
| 131 |
|
{ |
| 132 |
|
if (!empty($data['error'])) { |
| 133 |
|
$message = $data['error']['message']; |
| 134 |
|
throw new IdentityProviderException('error_facebook_bad_response', 400, $response); |
| 135 |
|
} |
| 136 |
|
} |
| 137 |
|
|
| 138 |
|
/** |