Trợ giúp về API MediaWiki
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.
- Mô đun này cần quyền đọc.
- Mô đun này chỉ có nhận các yêu cầu POST.
- Source: SecurePoll
- License: GPL-2.0-or-later
Allows a remote wiki to authenticate users before granting access to vote in the election.
Các tham số:
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
Ví dụ:
- Authenticate user with ID 1, and login token 123ABC.
- api.php?action=securepollauth&token=123ABC&id=1&format=json [open in sandbox]