MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=securepollauth

(main | securepollauth)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • This module requires read rights.
  • This module only accepts POST requests.
  • Font : SecurePoll
  • Licéncia : GPL-2.0-or-later

Allows a remote wiki to authenticate users before granting access to vote in the election.

Paramètres :
Other general parameters are available.
token

A token based on the user's login token.

Cal aquest paràmetre.
id

The ID of the user who intends to vote.

Cal aquest paràmetre.
Tipus: enter
Example:
Authenticate user with ID 1, and login token 123ABC.
api.php?action=securepollauth&token=123ABC&id=1&format=json [open in sandbox]