Re: [Phplib-users] Structured auth with insertion points.
Brought to you by:
nhruby,
richardarcher
From: Chris J. <ch...@ch...> - 2002-12-06 17:01:40
|
On Fri, Dec 06, 2002 at 08:41:48AM -0500, Rob Hutton wrote: > Here is the structured auth I am working from. The API is backwards > compatible with the current snapshot, but it has more insertion points. > There is a fair amount of cleanup that could be done, such as moving the > auth->refresh() code into a function such as Gian has done. I will try to > do that if anyone is interested. > > Features: > Can use header("Location:") to clean the URL before performing the auth > function in case the admin wants the user to be able to get out of auth by > refreshing. > Can handle two or more phase auth. > Insertion points to showform, handle, ok, and failed for register, > activate, and login. > Easy addition of more modes. > Rob Hutton I like the logic of your recent posts and thinking, Rob. I think you are going in the right direction with the auth class. -- ..chris |