ImpersonateController
class ImpersonateController extends ActionController (View source)
The Impersonate controller
Properties
protected ImpersonateService | $impersonateService | ||
protected PartyService | $partyService | ||
protected string | $defaultViewObjectName | ||
protected array | $viewFormatToObjectNameMap | ||
protected array | $supportedMediaTypes |
Methods
void
impersonateAction(Account $account)
No description
void
redirectIfPossible(string $actionName)
Fetching possible redirect options for the given action method and if everything is set we redirect to the configured controller action.
void
redirectWithParentRequest(string $actionName, string $controllerName = null, string $packageKey = null, array $arguments = [], int $delay = 0, int $statusCode = 303, string $format = null)
No description
void
void
restoreAction()
No description
void
restoreWithResponseAction()
No description
void
statusAction()
No description
array
getImpersonateStatus()
No description
Details
void
impersonateAction(Account $account)
No description
protected void
redirectIfPossible(string $actionName)
Fetching possible redirect options for the given action method and if everything is set we redirect to the configured controller action.
protected void
redirectWithParentRequest(string $actionName, string $controllerName = null, string $packageKey = null, array $arguments = [], int $delay = 0, int $statusCode = 303, string $format = null)
No description
void
impersonateUserWithResponseAction(User $user)
No description
void
restoreAction()
No description
void
restoreWithResponseAction()
No description
void
statusAction()
No description
array
getImpersonateStatus()
No description