@@ -291,6 +291,7 @@ discard block |
||
| 291 | 291 | /** |
| 292 | 292 | * Validates the Oauth response for Opauth. |
| 293 | 293 | * @throws InvalidArgumentException |
| 294 | + * @param Opauth $opauth |
|
| 294 | 295 | */ |
| 295 | 296 | protected function validateOpauthResponse($opauth, $response) { |
| 296 | 297 | if(!empty($response['error'])) { |
@@ -385,6 +386,9 @@ discard block |
||
| 385 | 386 | return unserialize(base64_decode($this->request->{$method.'Var'}('opauth'))); |
| 386 | 387 | } |
| 387 | 388 | |
| 389 | + /** |
|
| 390 | + * @param string $action |
|
| 391 | + */ |
|
| 388 | 392 | public function Link($action = null) { |
| 389 | 393 | return Controller::join_links( |
| 390 | 394 | self::config()->opauth_path, |