JAuthenticateHelperAuthorization helper class, provides static methods to perform various tasks relevant to the Joomla authorization routines
This class has influences and some method logic from the Horde Auth package
Located in /application/user/authenticate.php (line 333)
string
getCryptedPassword
(string $plaintext, [string $salt = ''], [string $encryption = 'md5-hex'], [boolean $show_encrypt = false])
Generate a random password
Formats a password using the current encryption.
Returns a salt for the appropriate kind of password encryption.
Optionally takes a seed and a plaintext password, to extract the seed of an existing password, or for encryption types that use the plaintext in the generation of the salt.
Is there an authenticated user in the current session
Static method to load an auth plugin and attach it to the JEventDispatcher object.
This method should be invoked as:
$isLoaded = JAuthenticateHelper::loadPlugin($plugin, $subject);
Converts hexadecimal string to binary data.
Performs check on session to see if IP Address has changed since the last access.
Performs check on session to see if user agent has changed since the last access.
Converts to allowed 64 characters for APRMD5 passwords.
Documentation generated on Sat, 4 Feb 2006 14:22:42 +0100 by phpDocumentor 1.3.0RC4