RE: [PEAR-DEV] Another Auth-class
| From: | LIMBOURG Arnaud | Date: | Wed, 31 Oct 2001 09:17:35 +0000 |
| Subject: | RE: [PEAR-DEV] Another Auth-class | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-2472@lists.php.net to get a copy of this message | ||
I did not mean to be rude or anything so you don't have to flame me...
I said we were discussing about such a class. I did not say that we wanted
to make a user authentication class, on the opposite it should be a *user*
management class, authentication is just a part of user management.
About the API thing, it is not definitive, nothing is done yet !
I'm not an expert and I am learning, ok ?
Anyway, that makes me wonder of the use of such a project since nobody seems
interested in it...
Arnaud.
> 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.
>