Extension:Azhàr Authentication/da

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:Azhàr Authentication and the translation is 42% complete.

Other languages:
English • ‎dansk • ‎español • ‎polski • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
Azhàr Authentication
Release status: unmaintained
Beskrivelse Allows logging in through Azhàr
Forfatter(e) Derecksontalk
Latest version 1.2 (2014-01-28)
Licens GNU General Public License 2.0
Download
Translate the Azhàr Authentication extension if it is available at translatewiki.net
Check usage and version matrix.

The Azhàr Authentication extension allows users to login through Azhàr's provisioning and single sign on API.

Installation

  • Download and place the file(s) in a directory called AzharAuth in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'AzharAuth' );
    $wgAzharConsumerKey = 'YOUR_CONSUMER_KEY_HERE';
    $wgAzharSecretKey = 'YOUR_SECRET_KEY_HERE';
    
  • Generate on Azhàr a new set of keys and write them in the configuration (see previous step).
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'AzharAuth' );, you need to use:

require_once "$IP/extensions/AzharAuth/AzharAuth.php";

Configuration parameters

Parameter Beskrivelse Obligatorisk? Standardværdi
$wgAzharAuthAddGoToIntranetLink If true, a link to the Azhàr intranet homepage is added in the personal links (on Vector and Monobook, they are located in the top-right corner) nej true
$wgAzharAuthOnlyLoginSource If true, only allows authentication through Azhàr and disables regular login/logout. Otherwise, Azhàr is an extra option to login. nej true
$wgAzharConsumerKey Azhàr single sign on and provisioning API consumer key JA -
$wgAzharSecretKey Azhàr single sign on and provisioning API secret key / shared secret JA -