Re: [PHPLIB] 7.2 and pre-auth From: Kristian Koehntopp (kris <email protected>)
Date: 10/31/99

On Sun, Oct 31, 1999 at 09:22:45AM -0500, Gregory Blake wrote:
> I just noticed that auth_preauth is in 7.2. How exactly does
> this work? Have many people worked with it?

auth_preauth is tested and works.

auth_preauth is called before any other authentication
subfunction is being called. If the preauth function returns
false, normal authentication commences. If the preauth function
returns a valid uid, that uid is taken as the authenticated uid
and no login screen appears.

It is up to you to write a preauth function that somehow
determines the authenticated identity of the user and returns a
uid. Such a function may have a look at some non-session cookie
with a username and believe that identity or start a telepathic
control protocol session and read the users mind or perform some
other magic, as you see fit.

Kristian

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.