Re: Another Auth-class
| From: | Alexander Merz | Date: | Tue, 30 Oct 2001 18:07:48 +0000 |
| Subject: | Re: Another Auth-class | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-2463@lists.php.net to get a copy of this message | ||
> That's exactly we want to make ;)) at least the beginning of it
A user class is a part of a app, never an app itself.
Take a look at your API ->
create($first_name, $mid_name, $last_name, $email, $login, $pass)
too specific. Did you view the user class in phplib? The basic values of this
class are a userid and the password, nothing more. How to handle companys as
users? Why did you expect a email-adress, why not the snail mail adress?
What to hell are you planing? It seems to be not an User-authentication-class.
An UA-class have only to login a user, authenticate him through datasource and
return his rights.
Adding, Deleting or Editing an user isn't a part of such a class, this the task
of a user-admin-class which is application dependent.