[dev] available api authentication routines?

Eric Rostetter eric.rostetter@physics.utexas.edu
Thu, 30 May 2002 19:16:13 -0500


Quoting Michael Cochrane <mike@graftonhall.co.nz>:

> Auth::authenticate()? 
> http://dev.horde.org/ may be of some help....

I looked at the api docs before I asked, but couldn't make out much from
them.  I figured I'd not get much help from the list, but I thought I'd
ask anyway.  So, given your above answer and some work, I tried again and
I found the solution.  

I had to go to the api web pages, find the routines that might work, and 
then rgrep the entire horde (et al) code for those routines to see how 
they are actually used.  After a few rgrep scans of the code, I finally 
figured out what I needed to know.

The problem with the api web pages is they only tell you what calls
are available, the syntax for the calls, and sometimes a vague idea
of what they do.  But knowing that Auth::getCredential() takes a parameter
called "credential" doesn't help if you don't know the possible values
for "credential" -- is there any docs that cover this kind of issue (the
acceptible values for the credential argument in this case)?

Anyway, for now I'll just keep rgrep'ing the code base for answers...

-- 
Eric Rostetter
Eric.Rostetter@physics.utexas.edu
The Department of Physics
The University of Texas at Austin

Quidquid latine dictum sit, altum viditur.