private function getLoginUrl($context) { $security = $this->securityContext->getSecurity($context); return $security->getLoginUrl(); }
/** * Boot the service provider. * * @param SecurityContext $securityContext * @param Router $router */ public function boot(SecurityContext $securityContext, Router $router) { $this->addMappings($securityContext->getOrCreateFluentDriver()); $this->addMiddleware($router); }