|
ILIAS
release_8 Revision v8.24
|
Class ilCtrlTokenRepository. More...
Inheritance diagram for ilCtrlTokenRepository:
Collaboration diagram for ilCtrlTokenRepository:Public Member Functions | |
| getToken () | |
| @inheritDoc More... | |
| getToken () | |
| Returns a temporary ilCtrlToken for the given session (id). More... | |
Protected Member Functions | |
| fetchToken () | |
| Returns the currently stored token from the session. More... | |
| storeToken (ilCtrlTokenInterface $token) | |
| Stores the given token in the curren session. More... | |
| generateToken () | |
| Returns a cryptographically secure token. More... | |
Class ilCtrlTokenRepository.
Definition at line 12 of file class.ilCtrlTokenRepository.php.
|
protected |
Returns the currently stored token from the session.
Definition at line 31 of file class.ilCtrlTokenRepository.php.
References ilSession\get(), ilSession\has(), and ilCtrlInterface\PARAM_CSRF_TOKEN.
Referenced by getToken().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Returns a cryptographically secure token.
Definition at line 55 of file class.ilCtrlTokenRepository.php.
References $token.
Referenced by getToken().
Here is the caller graph for this function:| ilCtrlTokenRepository::getToken | ( | ) |
@inheritDoc
Implements ilCtrlTokenRepositoryInterface.
Definition at line 17 of file class.ilCtrlTokenRepository.php.
References $token, fetchToken(), generateToken(), and storeToken().
Here is the call graph for this function:
|
protected |
Stores the given token in the curren session.
| ilCtrlTokenInterface | $token |
Definition at line 45 of file class.ilCtrlTokenRepository.php.
References $token, ilCtrlInterface\PARAM_CSRF_TOKEN, and ilSession\set().
Referenced by getToken().
Here is the call graph for this function:
Here is the caller graph for this function: