BeforeRedirectEvent

FinalYes

Notification before a redirect is made, which also allows to modify the actual redirect URL. Setting the redirect to an empty string will avoid triggering a redirect.

Table of Contents

Methods

__construct()  : mixed
getLoginType()  : string
getRedirectUrl()  : string
getRequest()  : ServerRequestInterface
setRedirectUrl()  : void

Methods

__construct()

public __construct(string $loginType, string $redirectUrl, ServerRequestInterface $request) : mixed
Parameters
$loginType : string
$redirectUrl : string
$request : ServerRequestInterface

getLoginType()

public getLoginType() : string
Return values
string

getRedirectUrl()

public getRedirectUrl() : string
Return values
string

getRequest()

public getRequest() : ServerRequestInterface
Return values
ServerRequestInterface

setRedirectUrl()

public setRedirectUrl(string $redirectUrl) : void
Parameters
$redirectUrl : string

        
On this page

Search results