![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct () | |
get () | |
put ($key) | |
![]() | |
get () | |
put ($key) | |
This class contains a session-based storage for private keys. This storage is not secure enough because its implementation stores keys completely in the PHP sessions. PHP sessions usually store data in the file system and it is easy to extract. This storage is useful only as an example. It is better to use "split" storage for keys.
Definition at line 24 of file SessionStorage.php.
__construct | ( | ) |
Creates an instance of this class. It checks and initializes PHP sessions if necessary.
Definition at line 32 of file SessionStorage.php.
get | ( | ) |
Obtains key from the session
Definition at line 45 of file SessionStorage.php.
put | ( | $key | ) |
Puts key to the session
string | $key | The key |
Definition at line 56 of file SessionStorage.php.