Methods

All methods in the Solar_Auth_Adapter_Typekey class.

Public

__construct()

Constructor.

__destruct()

Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().

__get()

Magic get for pseudo-public properties as defined by Solar_Auth_Adapter::$_magic.

__set()

Magic set for pseudo-public properties as defined by Solar_Auth_Adapter::$_magic.

dump()

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.

getStatusText()

Retrieve the status text from the cache and then deletes it, making it act like a read-once session flash value.

isAllowed()

Tells whether authentication processing is allowed.

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 cache.

start()

Starts 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.

_buildConfig()

Builds and returns the default config for a class, including all configs inherited from its parents.

_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.

_loadCredentials()

Loads the user credentials (handle and passwd) from the request source.

_postConfig()

Modifies $this->_config after it has been built.

_postConstruct()

Post-construction tasks to complete object construction.

_preConfig()

Checks to make sure a GMP or BCMath extension is available.

_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