|
Previous Class |
Solar_Auth_Adapter_Ini |
Next Page |
Solar_Auth_Adapter_Ini
Authenticate against .ini style files.
Each group is a user handle, with keys for 'passwd', 'moniker', 'email', and 'uri'. For example ...
[pmjones]
passwd = plaintextpass
email = pmjones@solarphp.com
moniker = Paul M. Jones
uri = http://paul-m-jones.com/
Catalog
This class is part of the Solar_Auth package.
Inheritance:
- Solar_Base
- Solar_Auth_Adapter
- Solar_Auth_Adapter_Ini
- Solar_Auth_Adapter
Constants
None.
Public Properties
These are all the public properties in the Solar_Auth_Adapter_Ini class.
You can also view the list of all public, protected, and private properties.
$active- The Unix time at which the authenticated handle was last valid.
$allow- Whether or not to allow authentication actions (login/logout).
$email- The email address of the currently authenticated user.
$handle- The currently authenticated user handle.
$initial- The Unix time at which the handle was initially authenticated.
$moniker- The "display name" or "full name" of the currently authenticated user.
$status- The status code of the current user authentication.
$uid- The numeric user ID for the currently authenticated user.
$uri- The URI for the currently authenticated user.
Public Methods
These are all the public methods in the Solar_Auth_Adapter_Ini class.
You can also view the list of all public, protected, and private methods.
__construct()- Constructor.
__destruct()- Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
apiVersion()- Reports the API version for this class.
dump()- Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
getFlash()- Retrieves a "read-once" session value for Solar_Auth.
isLoginRequest()- Tells if the current page load appears to be the result of an attempt to log in.
isLogoutRequest()- Tells if the current page load appears to be the result of an attempt to log out.
isValid()- Tells whether the current authentication is valid.
locale()- Looks up class-specific locale strings based on a key.
processLogin()- Processes login attempts and sets user credentials.
processLogout()- Processes logout attempts.
reset()- Resets any authentication data in the session.
start()- Starts a session with authentication.
updateIdleExpire()- Updates idle and expire times, invalidating authentication if they are exceeded.