PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » Auth » Bug #6489

checkAuth() is marked private, should be public

Details

Submitted2006-01-14 12:03 UTC
Fromaddw at phcomp dot co dot uk
Assignedaashley
StatusWont fix
PackageAuth
PHP VersionIrrelevant
OSany
Roadmaps(Not assigned)

Comments

[2006-01-14 12:03 UTC] addw at phcomp dot co dot uk

Description:
------------
The function checkAuth() has '@access private', but it should be '@access public'.

Minor, but it helps with understanding.

checkAuth() really is needed to make applications work, well that is what I found anyway.

[2006-02-21 04:56 UTC] aashley at php dot net

The correct public listed function to call is Auth::getAuth() not checkAuth(). getAuth() is just a public defined wrapper around checkAuth() but checkAuth() is used in several other wrappers, calling thru getAuth() gives an indication on what behaviour is expected in the backtrace when debuging