|
Previous Page |
Solar_Auth_Adapter_Typekey |
Next Page |
Methods
Public
__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()- Is the current page-load a login request?
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.
Protected
_bc_bindec()- Converts a binary value string to a decimal value string using bcmath functions.
_bc_exgcd()- Finds the extended greatest-common-denominator of two values using bcmath functions.
_bc_hexdec()- Converts a hex value string to a decimal value string using bcmath functions.
_bc_invert()- Inverts two values using bcmath functions.
_exception()- Convenience method for returning exceptions with localized text.
_fetchKeyData()- Fetches the public key data from TypeKey.
_gmp_bindec()- Converts a binary to a decimal value using GMP functions.
_loadSession()- Loads the class properties from the $_SESSION values, starting the session if needed.
_processLogin()- Processes login credentials using either GMP or bcmath functions.
_processLogout()- Adapter-specific logout processing.
_redirect()- Redirects to another URI after valid authentication.
_verify_bc()- DSA verification using bcmath.
_verify_gmp()- DSA verification using GMP.
Private
None.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _bc_bindec()
- _bc_exgcd()
- _bc_hexdec()
- _bc_invert()
- _exception()
- _fetchKeyData()
- _gmp_bindec()
- _loadSession()
- _processLogin()
- _processLogout()
- _redirect()
- _verify_bc()
- _verify_gmp()
- apiVersion()
- dump()
- getFlash()
- isLoginRequest()
- isLogoutRequest()
- isValid()
- locale()
- processLogin()
- processLogout()
- reset()
- start()
- updateIdleExpire()