Skip to content

Commit 475264c

Browse files
committed
Update documentation comments.
1 parent 011fee8 commit 475264c

File tree

2 files changed

+9
-21
lines changed

2 files changed

+9
-21
lines changed

lib/Auth/Source/External.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,17 @@
4545
* // Whether to turn on debug
4646
* 'debug' => true,
4747
*
48-
* // URL of the Drupal logout page.
49-
* 'drupal_logout_url' => 'https://www.example.com/drupal7/user/logout',
48+
* // Cookie name.
49+
* 'cookie_name' => 'drupalauth4ssp'
5050
*
51-
* // URL of the Drupal login page.
52-
* 'drupal_login_url' => 'https://www.example.com/drupal7/user',
51+
* // URL of the Drupal logout page.
52+
* 'drupal_logout_url' => 'https://www.example.com/drupal7/user/logout',
53+
*
54+
* // URL of the Drupal login page.
55+
* 'drupal_login_url' => 'https://www.example.com/drupal7/user',
5356
*
5457
* // Which attributes should be retrieved from the Drupal site.
55-
* 'attributes' => array(
58+
* 'attributes' => array(
5659
* array('field_name' => 'uid', 'attribute_name' => 'uid'),
5760
* array('field_name' => 'roles', 'attribute_name' => 'roles'),
5861
* array('field_name' => 'name', 'attribute_name' => 'cn'),

lib/ConfigHelper.php

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,6 @@
66

77
/**
88
* Drupal authentication source configuration parser.
9-
*
10-
* Copyright SIL International, Steve Moitozo, <[email protected]>, http://www.sil.org
11-
*
12-
* This class is a Drupal authentication source which authenticates users
13-
* against a Drupal site located on the same server.
14-
*
15-
*
16-
* The homepage of this project: http://code.google.com/p/drupalauth/
17-
*
18-
* See the drupalauth-entry in config-templates/authsources.php for information about
19-
* configuration of these options.
20-
*
21-
* @author Steve Moitozo <[email protected]>, SIL International
22-
* @package drupalauth
23-
* @version $Id$
249
*/
2510
class ConfigHelper
2611
{
@@ -96,7 +81,7 @@ public function __construct($config, $location)
9681

9782
$this->location = $location;
9883

99-
/* Parse configuration. */
84+
/* Get authsource configuration. */
10085
$config = Configuration::loadFromArray($config, $location);
10186

10287
$this->drupalroot = $config->getString('drupalroot');

0 commit comments

Comments
 (0)