Jump to content

MediaWiki:Apihelp-centralauthtoken-extended-description

Page contents not supported in other languages.
From J5wiki (en)

Returns a token that can be use to authenticate API requests on other wikis. For action API requests, put it in the centralauthtoken GET parameter. For REST API requests, add an Authorization: CentralAuthToken {token} header. In MediaWiki frontend logic, you can use the mediawiki.ForeignApi ResourceLoader module.