class SessionDataContainer (View source)

internal  
 

Properties

protected array $securityTokens

The current list of security tokens.

protected array $csrfProtectionTokens

The current list of CSRF tokens

protected ActionRequest|null $interceptedRequest

A possible request that was intercepted on a security exception

Methods

array
getSecurityTokens()

Get the current list of security tokens.

setSecurityTokens(array $securityTokens)

Set the current list of security tokens with their data.

array
getCsrfProtectionTokens()

Get the current list of active CSRF tokens.

setCsrfProtectionTokens(array $csrfProtectionTokens)

set the list of currently active CSRF tokens.

ActionRequest|null
getInterceptedRequest()

Get a possible saved request after a security exceptoin happeened.

void
setInterceptedRequest(ActionRequest $interceptedRequest = null)

Save a request that triggered a security exception.

void
reset()

Reset data in this session container.

Details

array getSecurityTokens()

Get the current list of security tokens.

Return Value

array

setSecurityTokens(array $securityTokens)

Set the current list of security tokens with their data.

Parameters

array $securityTokens

array getCsrfProtectionTokens()

Get the current list of active CSRF tokens.

Return Value

array

setCsrfProtectionTokens(array $csrfProtectionTokens)

set the list of currently active CSRF tokens.

Parameters

array $csrfProtectionTokens

ActionRequest|null getInterceptedRequest()

Get a possible saved request after a security exceptoin happeened.

Return Value

ActionRequest|null

void setInterceptedRequest(ActionRequest $interceptedRequest = null)

Save a request that triggered a security exception.

Parameters

ActionRequest $interceptedRequest

Return Value

void

void reset()

Reset data in this session container.

Return Value

void