| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Class ilCtrlTokenRepository. More...
 Inheritance diagram for ilCtrlTokenRepository:
 Collaboration diagram for ilCtrlTokenRepository:Public Member Functions | |
| getToken () | |
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 | ( | ) | 
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 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: