/**
  * {@inheritdoc}
  */
 public function finishView(FormView $view, FormInterface $form, array $options)
 {
     $authPath = $this->authProvider->getAuthorizationUrl();
     $view->vars['route'] = $authPath;
     $view->vars['title'] = $options['title'];
     $view->vars['routeParameters'] = $options['routeParameters'];
     // @todo remove 'isPath', 'class' options after BAP-4696 implementation
     $view->vars['isPath'] = $options['isPath'];
     $view->vars['class'] = $options['class'];
     $view->vars['attr']['target'] = '_blank';
     $view->vars['required'] = false;
 }
 public function setApplicationUrl(AuthorizationProvider $provider)
 {
     $this->authorizationUrl = $provider->getAuthorizationUrl();
 }