public function OauthController::authStart in Media: Acquia DAM 8
Redirects the user to the auth url.
Route: /acquiadam/authStart.
1 string reference to 'OauthController::authStart'
File
- src/
Controller/ OauthController.php, line 168
Class
- OauthController
- Controller routines for acquiadam routes.
Namespace
Drupal\media_acquiadam\ControllerCode
public function authStart() {
$authFinishRedirect = $this->request->query
->get('auth_finish_redirect');
$this->oauth
->setAuthFinishRedirect($authFinishRedirect);
return new TrustedRedirectResponse($this->oauth
->getAuthLink());
}