MediaWiki API help

This is an auto-generated MediaWiki Action API documentation page.

action=checktoken

(main | checktoken)

Check the validity of a token from action=query&meta=tokens.

Paramètres :
Other general parameters are available.
type

Tipe de geton testat

Cal aquest paràmetre.
One of the following values: createaccount, csrf, login, patrol, rollback, userrights, watch
token

Geton de testar.

Cal aquest paràmetre.
maxtokenage

Temps maximum autorizat per l'utilizacion del geton, en segondas.

Tipus: enter
Example:
Testar la validitat d'un geton de csrf.
api.php?action=checktoken&type=csrf&token=123ABC [open in sandbox]