Download the PHP package mediawiki/guzzle-json-auth without Composer
On this page you can find all versions of the php package mediawiki/guzzle-json-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mediawiki/guzzle-json-auth
More information about mediawiki/guzzle-json-auth
Files in mediawiki/guzzle-json-auth
Package guzzle-json-auth
Short Description Authenticate with a JSON endpoint using a configurable Guzzle client
License MIT
Homepage https://github.com/ravage84/mediawiki-guzzle-json-auth
Informations about the package guzzle-json-auth
mediawiki-guzzle-json-auth
Authenticate your MediaWiki with a JSON endpoint using a configurable Guzzle client
Install
Requirements
- PHP >= 5.4
- Composer
- MediaWiki 1.22
Via Composer
Usage
To Setup the authentication, add the following lines to your LocalSettings.php and change the values to your needs:
`
Authenticated users will be created in your Wikis database, but without password.
The authentication endpoint needs to return at least tne username, real name and email of the authenticated user as result. If the authentication failed, it must not return the username, otherwise it the user will be logged in nonetheless.
This extension will fall back to local authentication, if the user could not be authenticated externally.
Change log
Please see CHANGELOG.md for more information what has changed recently.
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.