class BackendRedirectionService (View source)

Properties

protected SessionInterface $session
protected DomainRepository $domainRepository
protected SiteRepository $siteRepository
protected UserService $userService
protected PersistenceManagerInterface $persistenceManager
protected PropertyMapper $propertyMapper
protected MenuHelper $menuHelper
protected PrivilegeManagerInterface $privilegeManager
protected string[] $preferedStartModules
protected $contentRepositoryRegistry

Methods

string|null
getAfterLoginRedirectionUri(ControllerContext $controllerContext)

Returns a specific URI string to redirect to after the login; or NULL if there is none.

array|null
determineStartModule(array $availableModules)

No description

string|null
getAfterLogoutRedirectionUri(ActionRequest $actionRequest)

Returns a specific URI string to redirect to after the logout; or NULL if there is none.

Node|null
getLastVisitedNode(string $workspaceName, ActionRequest $actionRequest)

No description

Details

string|null getAfterLoginRedirectionUri(ControllerContext $controllerContext)

Returns a specific URI string to redirect to after the login; or NULL if there is none.

Parameters

ControllerContext $controllerContext

Return Value

string|null

Exceptions

IllegalObjectTypeException
MissingActionNameException
Exception

protected array|null determineStartModule(array $availableModules)

No description

Parameters

array $availableModules

Return Value

array|null

string|null getAfterLogoutRedirectionUri(ActionRequest $actionRequest)

Returns a specific URI string to redirect to after the logout; or NULL if there is none.

In case of NULL, it's the responsibility of the AuthenticationController where to redirect, most likely to the LoginController's index action.

Parameters

ActionRequest $actionRequest

Return Value

string|null

A possible redirection URI, if any

Exceptions

Exception
MissingActionNameException

protected Node|null getLastVisitedNode(string $workspaceName, ActionRequest $actionRequest)

No description

Parameters

string $workspaceName
ActionRequest $actionRequest

Return Value

Node|null