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.
  • Source: SecurePoll
  • License: GPL-2.0-or-later

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

Specific parameters:
Other general parameters are available.
token

A token based on the user's login token.

This parameter is required.
id

The ID of the user who intends to vote.

This parameter is required.
Type: integer
Example:
Authenticate user with ID 1, and login token 123ABC.
api.php?action=securepollauth&token=123ABC&id=1&format=json [open in sandbox]