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)
  • Questo modulo è interno o instabile. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: OATHAuth
  • Licenza: GPL-2.0-or-later AND GPL-3.0-or-later

Validate a two-factor authentication (OATH) token.

Parametri:
user

Utente per cui convalidare il token. Valore predefinito è l'utente attuale.

Type: user, by any of nome utente, IP, Intervallo di IP e interwiki name (e.g. "prefix>ExampleName")
totp
Deprecato.

Token di autenticazione a due fattori (OATH). Obsoleto, usa invece il parametro "data"

data

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

token

Un token "csrf" recuperato da action=query&meta=tokens

This parameter is required.