MediaWiki
1.28.0
|
Value object representing a logged-out user's edit token. More...
Public Member Functions | |
__construct () | |
match ($userToken, $maxAge=null) | |
Public Member Functions inherited from MediaWiki\Session\Token | |
__construct ($secret, $salt, $new=false) | |
__toString () | |
match ($userToken, $maxAge=null) | |
Test if the token-string matches this token. More... | |
toString () | |
Get the string representation of the token. More... | |
wasNew () | |
Indicate whether this token was just created. More... | |
Protected Member Functions | |
toStringAtTimestamp ($timestamp) | |
Protected Member Functions inherited from MediaWiki\Session\Token | |
toStringAtTimestamp ($timestamp) | |
Get the string representation of the token at a timestamp. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from MediaWiki\Session\Token | |
static | getTimestamp ($token) |
Decode the timestamp from a token string. More... | |
Public Attributes inherited from MediaWiki\Session\Token | |
const | SUFFIX = '+\\' |
CSRF token suffix. More... | |
Value object representing a logged-out user's edit token.
This exists so that code generically dealing with MediaWiki\Session\Token (i.e. the API) doesn't have to have so many special cases for anon edit tokens.
Definition at line 35 of file LoggedOutEditToken.php.
LoggedOutEditToken::__construct | ( | ) |
Definition at line 36 of file LoggedOutEditToken.php.
LoggedOutEditToken::match | ( | $userToken, | |
$maxAge = null |
|||
) |
Definition at line 44 of file LoggedOutEditToken.php.
|
protected |
Definition at line 40 of file LoggedOutEditToken.php.