RestAuth (MediaWiki Extension): Unterschied zwischen den Versionen

Aus Free Software
Zur Navigation springen Zur Suche springen
(Weiterleitung auf Https://restauth.net/wiki/MediaWiki erstellt)
 
(7 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
{{Extension|templatemode = 1
+
#REDIRECT [[https://restauth.net/wiki/MediaWiki]]
|name        = RestAuth
 
|status      = stable
 
|type1      = user identity
 
|type2      = user rights
 
|hook1      = UserAddGroup
 
|hook2      = UserRemoveGroup
 
|hook3      = UserSaveSettings
 
|hook4      = UserSaveOptions
 
|hook5      = BeforeInitialize
 
|username    = Mati
 
|author      = Mathias Ertl
 
|description = This allows MediaWiki to authenticate against the [[RestAuth]] shared authentication service.
 
|version    = 0.9
 
|update      = 2011-03-16
 
|mediawiki  = 1.16.0 or later
 
|license    = {{License}}
 
|download    = see [[#Download|Download]]
 
|readme      = [[{{FULLPAGENAME}}|Documentation]]
 
|changelog  = [[{{FULLPAGENAME}}#Changelog|Changelog]]
 
|parameters  = $wgRestAuthHost, $wgRestAuthService, $wgRestAuthServicePassword, $wgRestAuthRefresh, $wgRestAuthGlobalOptions, $wgRestAuthIgnoredOptions
 
|example    = see [[#Example|Example]]
 
}}
 
 
 
The RestAuth MediaWiki extension integrates MediaWiki with the [[RestAuth]] project. It uses all features of the RestAuth protocol (authentication, authorization and preferences).
 
 
 
=== Download ===
 
{{Download|project=restauth|dir=mediawiki|target=RestAuth}}
 
 
 
=== Installation & Configuration ===
 
After downloading the extension, you need to include RestAuth.php in your LocalSettings.php file and set a few required settings:
 
<source lang=php>
 
require_once( "$IP/extensions/RestAuth/RestAuth.php" );
 
 
 
# RestAuth service details:
 
$wgRestAuthHost = 'https://auth.example.com';
 
$wgRestAuthService = 'example.com';
 
$wgRestAuthServicePassword = 'random-password';
 
 
 
# Needs to be *after* the settings above:
 
$wgAuth = new RestAuthPlugin();
 
 
 
# TODO DOCUMENT:
 
#$wgRestAuthRefresh = 360;
 
#$wgRestAuthGlobalOptions
 
#$wgRestAuthIgnoredOptions
 
</source>
 
 
 
=== Example ===
 
 
 
=== Changelog ===
 
 
 
=== ToDo ===
 
 
 
=== Licence ===
 
{{License}}
 

Aktuelle Version vom 10. September 2011, 18:19 Uhr