public function setConfigResolver(ConfigResolverInterface $configResolver)
    {
        $defaultPage = $configResolver->getParameter('default_page');
        if ($defaultPage !== null) {
            $this->options['default_target_path'] = $defaultPage;
        }
    }
public function setConfigResolver(ConfigResolverInterface $configResolver)
    {
        $defaultPage = $configResolver->getParameter('default_page');
        if ($defaultPage !== null) {
            $this->options['default_target_path'] = $defaultPage;
        }
    }
public function setConfigResolver ( ConfigResolverInterface $ configResolver ) { $ defaultPage = $ configResolver -> getParameter ( 'default_page' ) ; if ( $ defaultPage !== null ) { $ this -> options [ 'default_target_path' ] = $ defaultPage ; } }
Injects the ConfigResolver to potentially override default_target_path for redirections after authentication success.

@param ConfigResolverInterface $configResolver
Injects the ConfigResolver to potentially override default_target_path for redirections after authentication success .