SessionDataContainer
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
Get the current list of security tokens.
Set the current list of security tokens with their data.
Get the current list of active CSRF tokens.
set the list of currently active CSRF tokens.
Get a possible saved request after a security exceptoin happeened.
Save a request that triggered a security exception.
Reset data in this session container.
Details
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.