RedirectPermissionGuard
final class \
Security guard to validate access to sys_redirect records for the current backend user.
Internal
Table of Contents
Methods
- __construct() : mixed
- getAllowedHosts() : array
- isAllowedRedirect() : bool
Methods
__construct()
public
__construct(LinkService $linkService, TypoLinkCodecService $typoLinkCodecService, SourceHostProvider $sourceHostProvider, FrontendInterface $cache) : mixed
Parameters
- $linkService : LinkService
- $typoLinkCodecService : TypoLinkCodecService
- $sourceHostProvider : SourceHostProvider
- $cache : FrontendInterface
getAllowedHosts()
public
getAllowedHosts() : array
Return values
arrayisAllowedRedirect()
public
isAllowedRedirect(array $redirect) : bool
Parameters
- $redirect : array