MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=changeauthenticationdata (changeauth)
(main | changeauthenticationdata)
- Denne modulen krever lesetilgang.
- Denne modulen krever skrivetilgang.
- Denne modulen aksepterer bare POST forespørsler.
- Kilde: MediaWiki
- Lisens: GPL-2.0-or-later
Endre autentiseringsdata for den nåværende brukeren.
Parametre:
- changeauthrequest
Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=change.
- Denne parameteren er påkrevd.
- changeauthtoken
A "csrf" token retrieved from action=query&meta=tokens
- Denne parameteren er påkrevd.
- *
- 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.
Eksempel:
- Forsøk å endre den gjeldende brukerens passord til ExamplePassword.
- api.php?action=changeauthenticationdata&changeauthrequest=MediaWiki%5CAuth%5CPasswordAuthenticationRequest&password=ExamplePassword&retype=ExamplePassword&changeauthtoken=123ABC [åpne i sandkasse]