[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/class.auth.php, 1.1.1.1.2.7
From: |
nomail |
Subject: |
[Phpgroupware-cvs] api/class.auth.php, 1.1.1.1.2.7 |
Date: |
Mon, 28 Jun 2004 23:17:53 +0200 |
Update of /api
Modified Files:
Branch: proposal-branch
class.auth.php
date: 2004/06/28 21:17:53; author: jengo; state: Exp; lines: +10 -6
Log Message:
Mild reformating
=====================================================================
Index: api/class.auth.php
diff -u api/class.auth.php:1.1.1.1.2.6 api/class.auth.php:1.1.1.1.2.7
--- api/class.auth.php:1.1.1.1.2.6 Fri Apr 16 20:59:48 2004
+++ api/class.auth.php Mon Jun 28 21:17:53 2004
@@ -23,11 +23,13 @@
/* $Source$ */
$functions = array();
- $functions['authenticate'] = array(
+ $functions['authenticate'] = array
+ (
'type' => 'public',
'abstract' => 'Authenticate user against the selected
data store',
'discussion' => 'The data store is determined by the
driver being used such as SQL or LDAP.',
- 'params' => array(
+ 'params' => array
+ (
'username' => array('type' => 'string', 'default' =>
REQUIRED, 'desc' => 'users username'),
'passwd' => array('type' => 'any', 'default' =>
REQUIRED, 'desc' => 'users password')
)
@@ -37,14 +39,16 @@
'type' => 'public',
'abstract' => 'Change the users password',
'discussion' => 'With some data stores this may not be
possible.',
- 'params' => array(
+ 'params' => array
+ (
'current_passwd' => array('type' => 'any', 'default'
=> REQUIRED, 'desc' => 'users current password'),
'new_passwd' => array('type' => 'any', 'default'
=> REQUIRED, 'desc' => 'users new password'),
'username' => array('type' => 'string', 'default'
=> REQUIRED, 'desc' => 'users username')
)
);
- $GLOBALS['docs']['api']['classes']['api_auth'] = array(
+ $GLOBALS['docs']['api']['classes']['api_auth'] = array
+ (
'abstract' => 'Authentication system',
'functions' => $functions
);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/class.auth.php, 1.1.1.1.2.7,
nomail <=