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

meta=oath (oath)

(main | query | oath)

Check to see if two-factor authentication (OATH) is enabled for a user.

Parameters:
oathuser

User to get information about. Defaults to the current user.

Type: user, by any of user name, IP, IP range and interwiki name (e.g. "prefix>ExampleName")
oathreason

Reason for querying the OATH status.

Examples:
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]