|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilCtrlToken is responsible for generating and storing unique CSRF tokens. More...
Inheritance diagram for ilCtrlToken:
Collaboration diagram for ilCtrlToken:Public Member Functions | |
| __construct (string $token) | |
| ilCtrlToken Constructor More... | |
| verifyWith (string $token) | |
| @inheritDoc More... | |
| getToken () | |
| @inheritDoc More... | |
| verifyWith (string $token) | |
| Compares the given token to the stored one of the given user. More... | |
| getToken () | |
| Returns the token string of this instance. More... | |
Private Attributes | |
| string | $token |
Class ilCtrlToken is responsible for generating and storing unique CSRF tokens.
Definition at line 27 of file class.ilCtrlToken.php.
| ilCtrlToken::__construct | ( | string | $token | ) |
ilCtrlToken Constructor
| string | $token |
Definition at line 41 of file class.ilCtrlToken.php.
References $token.
| ilCtrlToken::getToken | ( | ) |
@inheritDoc
Implements ilCtrlTokenInterface.
Definition at line 57 of file class.ilCtrlToken.php.
References $token.
| ilCtrlToken::verifyWith | ( | string | $token | ) |
@inheritDoc
Implements ilCtrlTokenInterface.
Definition at line 49 of file class.ilCtrlToken.php.
References $token.
|
private |
Definition at line 34 of file class.ilCtrlToken.php.
Referenced by __construct(), getToken(), and verifyWith().