Глава 29.

Содержание
Auth
Auth_HTTP

, .

Auth

Содержание
Introduction -- A usage example
Storage drivers -- Introduction
Logging -- Introduction
Auth_Container_Array -- Authenticate against an array of usernames and passwords
Auth_Container_DB -- Authenticate against a database using DB
Auth_Container_DBLite -- Authenticate against a database using DB
Auth_Container_File -- Authenticate a password file using File_Passwd
Auth_Container_IMAP -- Authenticate against an IMAP server
Auth_Container_KADM5 -- Authenticate against a Kerberos 5 server
Auth_Container_LDAP -- Authenticate against an LDAP server
Auth_Container_MDB -- Authenticate against a database using MDB
Auth_Container_MDB2 -- Authenticate against a database using MDB2
Auth_Container_Multiple -- Authenticate against multiple Auth_Containers
Auth_Container_PEAR -- Authenticate against the PEAR website
Auth_Container_POP3 -- Authenticate against a POP3 server
Auth_Container_RADIUS -- Authenticate against a RADIUS server
Auth_Container_SAP -- Authenticate against a SAP server
Auth_Container_SMBPasswd -- Authenticate a SAMBA smbpasswd file using File_SMBPasswd
Auth_Container_SOAP -- Authenticate against a SOAP service
Auth_Container_SOAP5 -- Authenticate against a SOAP service
Auth_Container_vpopmail -- Authenticate against a vpopmail service
Custom Auth_Container -- Build a custom storage container
Auth_Frontend_HTML -- Default login form
 -- 
Auth::Auth() -- constructor
Auth::addUser() -- add a new user
Auth::attachLogObserver() -- Attach a log observer instance to the internal Log object
Auth::changePassword() -- change the password of a user
Auth::checkAuth() --  check if a session with valid authentication information exists
Auth::getAuth() -- check for an authenticated user
Auth::getAuthData() -- retrieve extra information stored within the auth session
Auth::getStatus() -- get the current status of the auth session
Auth::getUsername() -- get the username of the authenticated user
Auth::listUsers() -- list available users
Auth::logout() -- logout an authenticated user
Auth::removeUser() -- remove a user account
Auth::setAdvancedSecurity() -- Enables advanced security features. Turned off by default
Auth::setAllowLogin() -- Controls if the user will be allowed to login. Turned on by default
Auth::setAuth() -- set a specific user to be marked as logged in
Auth::setAuthData() -- store extra information with the Auth session
Auth::setCheckAuthCallback() -- set a callback to run when ever session validity is checked
Auth::setExpire() -- set expiration time for authentication
Auth::setFailedLoginCallback() -- set a callback for failed login attempts
Auth::setIdle() -- set maximum idle time for authentication
Auth::setLoginCallback() -- set a callback for successful login attempts
Auth::setLogoutCallback() -- set a callback for successful logout attempts
Auth::setSessionName() -- set a custom session name
Auth::setShowLogin() -- controls if the login form will be displayed. Turned on by default
Auth::sessionValidThru() --  get the time up to the session is valid
Auth::start() -- start authentication

Provides a framework for user authentication.


HIVE: All information for read only. Please respect copyright!
Hosted by hive :