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=oathvalidate

(main | oathvalidate)
  • 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.
  • Font : OATHAuth
  • Licéncia : GPL-2.0-or-later AND GPL-3.0-or-later

Validate a two-factor authentication (OATH) token.

Paramètres :
Other general parameters are available.
user

User to validate token for. Defaults to the current user.

Tipus: usuari, per qualsevol de nom d'usuari, IP, Usuari temporal, Interval d'adreces IP i nom interwiki (p. ex., «prefix>NomExemple»)
data

JSON encoded data expected by the module currently activated for the user being authenticated

Cal aquest paràmetre.
token

A "csrf" token retrieved from action=query&meta=tokens

Cal aquest paràmetre.