1.2.7.3 AuthManager Object

The AuthManager object is aliased as web.auth.manager and should be used as web.auth.manager. It is the object most frequently used for auth management.

The AuthManager object is derived from the AuthAdmin and AuthSession objects. Conesequently it has all the functions and methods of the admin and session objects as well as the following functionality:

class AuthManager( store, driver, [expire=0], [idle=0], [autoCreate=0], [encryption=None], [**driverParams])

user( [username=None])
Return an AuthUser object for the user specified. If no user is specified an AuthUser object for the currently signed in user is returned. If no user is signed in, None is returned.