Re: another Auth-class

From: Date: Tue, 30 Oct 2001 17:10:27 +0000
Subject: Re: another Auth-class
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2458@lists.php.net to get a copy of this message
On Tue, 30 Oct 2001 17:47:35 +0100, Wolfram Kriesing wrote: >> PEAR::Auth already uses storage containers. Currently there is only >> an interface to PEAR::DB available, but others are easy to >> implement. >may be the best things of each can simply be used to end up with the >very best! > >When i was searching for an existing Auth class i also came across >the one in PEAR. The problem was i was spoiled by what Tomcat >provided and it also seemed strange to me that the abstraction of the >data source, you authorize against (DB or whatever) was done in a >different way than PEAR::DB. I think PEAR::DB is a concept that >rocks. Any reasons for not implementing this in your Auth-class? PEAR::Auth uses PEAR::DB, so what's the problem? >I was also missing the simple methods login, logout ... i got a bit >confused by setAuth, getAuth ... That's only a question of good documentation. If something is documentated in a proper way, you don't have to care about that. - Martin

« previous php.pear.dev (#2458) next »