د مېډياويکي API لارښود

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=checktoken

(main | checktoken)
  • This module requires read rights.
  • سرچينه: MediaWiki
  • منښتليک: GPL-2.0-or-later

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

پاراميټرونه:
type

Type of token being tested.

دې پاراميټر ته اړتيا ده.
One of the following values: createaccount, csrf, login, patrol, rollback, userrights, watch
token

Token to test.

دې پاراميټر ته اړتيا ده.
maxtokenage

Maximum allowed age of the token, in seconds.

Type: integer
بېلگه:
Test the validity of a csrf token.
api.php?action=checktoken&type=csrf&token=123ABC [open in sandbox]
"http://ps.hayazg.info/ځانگړی:ApiHelp" نه اخيستل شوی