ModifyRedirectUrlValidationResultEvent
FinalYes
Allows to modify the result of the redirect URL validation (e.g. allow redirect to specific external URLs).
Table of Contents
Methods
- __construct() : mixed
- getRedirectUrl() : string
- getRequest() : ServerRequestInterface
- getValidationResult() : bool
- setValidationResult() : void
Methods
__construct()
public
__construct(string $redirectUrl, bool $validationResult, ServerRequestInterface $request) : mixed
Parameters
- $redirectUrl : string
- $validationResult : bool
- $request : ServerRequestInterface
getRedirectUrl()
public
getRedirectUrl() : string
Return values
stringgetRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfacegetValidationResult()
public
getValidationResult() : bool
Return values
boolsetValidationResult()
public
setValidationResult(bool $validationResult) : void
Parameters
- $validationResult : bool