mediawiki-extensions-OATHAuth/i18n/api/en.json
Martin Urbanec 446f013c65 Allow privileged accounts to use action=query&meta=oath
Since T209749, privileged users have an UI to query 2FA status.
We should allow them to do the same thing via the API as well.

Bug: T250901
Change-Id: I28720c762ca595c0ab83aa400f0a593ed6a9285e
2020-10-05 00:32:42 +02:00

27 lines
1.5 KiB
JSON

{
"@metadata": {
"authors": [
"Bryan Davis",
"Brad Jorsch",
"Dejan Savuljesku",
"Umherirrender",
"Ryan Lane <rlane@wikimedia.org>",
"Tyler Romeo <tylerromeo@gmail.com>"
]
},
"apihelp-query+oath-description": "Check to see if two-factor authentication (OATH) is enabled for a user.",
"apihelp-query+oath-summary": "Check to see if two-factor authentication (OATH) is enabled for a user.",
"apihelp-query+oath-param-user": "User to get information about. Defaults to the current user.",
"apihelp-query+oath-param-reason": "Reason for querying the OATH status.",
"apihelp-query+oath-example-1": "Get information about the current user",
"apihelp-query+oath-example-2": "Get information about user <kbd>Example</kbd>",
"apihelp-oathvalidate-description": "Validate a two-factor authentication (OATH) token.",
"apihelp-oathvalidate-summary": "Validate a two-factor authentication (OATH) token.",
"apihelp-oathvalidate-param-user": "User to validate token for. Defaults to the current user.",
"apihelp-oathvalidate-param-totp": "Two-factor authentication (OATH) token. Legacy, use \"data\" param instead",
"apihelp-oathvalidate-example-1": "Validate a token for the current user",
"apihelp-oathvalidate-example-2": "Validate a token for the user <kbd>Example</kbd>",
"apihelp-oathvalidate-example-3": "Validate JSON data for user <kbd>Example</kbd>",
"apihelp-oathvalidate-param-data": "JSON encoded data expected by the module currently activated for the user being authenticated"
}