[Phplib-users] Structured auth with insertion points.
Brought to you by:
nhruby,
richardarcher
From: Rob H. <rob...@ws...> - 2002-12-06 13:39:29
|
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. OK, I'm ready!!! ;-) Rob Hutton Web Safe www.wsafe.com ********************************************************************** Introducing Symantec Client Security - Integrated Anti-Virus, Firewall, and Intrusion Detection for the Client. Learn more: http://enterprisesecurity.symantec.com/symes238.cfm?JID=2&PID=11624271 |