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
meta=oath (oath)
- This module is internal or unstable. Its operation may change without notice.
- Mô đun này cần quyền đọc.
- Source: OATHAuth
- License: GPL-2.0-or-later AND GPL-3.0-or-later
Check to see if two-factor authentication (OATH) is enabled for a user.
Các tham số:
Other general parameters are available.
- oathuser
User to get information about. Defaults to the current user.
- Kiểu: người dùng, bằng một giá trị bất kỳ trong tên người dùng, địa chỉ IP, dãy địa chỉ IP và tên người dùng liên wiki (ví dụ “tiền tố>TênVíDụ”)
- oathreason
Reason for querying the OATH status.
Các ví dụ:
- Get information about the current user
- api.php?action=query&meta=oath [open in sandbox]
- Get information about user Example
- api.php?action=query&meta=oath&oathuser=Example [open in sandbox]