MediaWiki API súgó
Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.
Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=changeauthenticationdata (changeauth)
(main | changeauthenticationdata)
- Ez a modul olvasási jogot igényel.
 - Ez a modul írási jogot igényel.
 - Ez a modul csak POST kéréseket fogad el.
 - Forrás: MediaWiki
 - Licenc: GPL-2.0-or-later
 
Change authentication data for the current user.
Paraméterek:
- changeauthrequest
 Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=change.
- This parameter is required.
 - changeauthtoken
 Egy „csrf” token, az action=query&meta=tokens kéréssel lekérve
- This parameter is required.
 - *
 - This module accepts additional parameters depending on the available authentication requests. Use action=query&meta=authmanagerinfo with amirequestsfor=change (or a previous response from this module, if applicable) to determine the requests available and the fields that they use.
 
Példa:
- Attempt to change the current user's password to ExamplePassword.
 - api.php?action=changeauthenticationdata&changeauthrequest=MediaWiki%5CAuth%5CPasswordAuthenticationRequest&password=ExamplePassword&retype=ExamplePassword&changeauthtoken=123ABC [megnyitás a homokozóban]