‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction:

Public Member Functions

 jsonSerialize ()
 
 applyTo (ServerRequestInterface $request)
 
 getRequestTarget ()
 
 getMethod ()
 
 getUri ()
 
 getBody ()
 
 getParsedBody ()
 
 getQueryParams ()
 
 getAttributes ()
 

Static Public Member Functions

static createForServerRequest (ServerRequestInterface $request)
 
static buildFromArray (array $data)
 

Protected Member Functions

 __construct ()
 
 __clone ()
 

Static Protected Member Functions

static clone ($value)
 

Protected Attributes

const KEEP_ATTRIBUTE_NAMES
 
string $requestTarget
 
string $method
 
UriInterface $uri
 
StreamInterface $body
 
array $parsedBody
 
array $queryParams
 
array $attributes
 

Detailed Description

Reduced representation of ServerRequest information, which is used to replay the intercepted request later, once access was granted.

Definition at line 32 of file ServerRequestInstruction.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::__construct ( )
protected

Definition at line 88 of file ServerRequestInstruction.php.

Member Function Documentation

◆ __clone()

TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::__clone ( )
protected

Definition at line 93 of file ServerRequestInstruction.php.

◆ applyTo()

TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::applyTo ( ServerRequestInterface  $request)

Applies instructions to given ServerRequest ("replaying the request").

Definition at line 118 of file ServerRequestInstruction.php.

◆ buildFromArray()

static TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::buildFromArray ( array  $data)
static

◆ clone()

static TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::clone (   $value)
staticprotected

◆ createForServerRequest()

static TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::createForServerRequest ( ServerRequestInterface  $request)
static

◆ getAttributes()

TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::getAttributes ( )

◆ getBody()

TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::getBody ( )

◆ getMethod()

TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::getMethod ( )

◆ getParsedBody()

TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::getParsedBody ( )

◆ getQueryParams()

TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::getQueryParams ( )

◆ getRequestTarget()

TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::getRequestTarget ( )

◆ getUri()

TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::getUri ( )

◆ jsonSerialize()

TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::jsonSerialize ( )

Member Data Documentation

◆ $attributes

array TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::$attributes
protected

◆ $body

StreamInterface TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::$body
protected

◆ $method

string TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::$method
protected

◆ $parsedBody

array TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::$parsedBody
protected

◆ $queryParams

array TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::$queryParams
protected

◆ $requestTarget

string TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::$requestTarget
protected

◆ $uri

UriInterface TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::$uri
protected

◆ KEEP_ATTRIBUTE_NAMES

const TYPO3\CMS\Backend\Security\SudoMode\Access\ServerRequestInstruction::KEEP_ATTRIBUTE_NAMES
protected
Initial value:
= [
'applicationType',
]

Attribute names that shall be taken from the original request

Definition at line 37 of file ServerRequestInstruction.php.