RedirectLoginErrorHandler implements PageErrorHandlerInterface

An error handler that redirects to a configured page, where the login process is handled. Passes a configurable url parameter (`return_url` or `redirect_url`) to the target page.

Table of Contents

Interfaces

PageErrorHandlerInterface
Page error handler interface, used to jump in for Frontend-related calls

Properties

$context  : Context
$linkService  : LinkService
$loginRedirectParameter  : string
$loginRedirectPid  : int
$statusCode  : int

Methods

__construct()  : mixed
handlePageError()  : ResponseInterface
isSimulatedBackendGroup()  : bool

Properties

$loginRedirectParameter

protected string $loginRedirectParameter = ''

$loginRedirectPid

protected int $loginRedirectPid = 0

Methods

__construct()

public __construct(int $statusCode, array<string|int, mixed> $configuration) : mixed
Parameters
$statusCode : int
$configuration : array<string|int, mixed>

handlePageError()

public handlePageError(ServerRequestInterface $request, string $message[, array<string|int, mixed> $reasons = [] ]) : ResponseInterface
Parameters
$request : ServerRequestInterface
$message : string
$reasons : array<string|int, mixed> = []
Return values
ResponseInterface

isSimulatedBackendGroup()

protected isSimulatedBackendGroup() : bool
Return values
bool

        
On this page

Search results