Помоћ око Медијавикијевог API-ја

Ово је аутоматски генерисана документација за Медијавики API

Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-

action=oathvalidate

(main | oathvalidate)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • This module only accepts POST requests.
  • Извор: OATHAuth
  • Лиценца: GPL-2.0-or-later AND GPL-3.0-or-later

Validate a two-factor authentication (OATH) token.

Параметри:
user

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

Тип: корисник, по: корисничко име, IP, IP опсег и међувики назив (нпр. „префикс>Пример”)
totp
Deprecated.

Two-factor authentication (OATH) token. Legacy, use "data" param instead

data

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

token

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

This parameter is required.