/nasmail/functions/auth.phpauth.php
Contains functions used to do authentication.
Depends on:
cram_md5_response (line 73)
Given the challenge from the server, supply the response using cram-md5 (See RFC 2195 for details)
digest_md5_parse_challenge (line 152)
Parse Digest-MD5 challenge.
This function parses the challenge sent during DIGEST-MD5 authentication and returns an array. See the RFC for details on what's in the challenge string.
digest_md5_response (line 97)
Return Digest-MD5 response.
Given the challenge from the server, calculate and return the response-string for digest-md5 authentication. (See RFC 2831 for more details)
get_smtp_user (line 228)
Fillin user and password based on SMTP auth settings.
hmac_md5 (line 198)
Creates a HMAC digest that can be used for auth purposes See RFCs 2104, 2617, 2831 Uses mhash() extension if available
is_logged_in (line 27)
Check if user has previously logged in to the SquirrelMail session. If user has not logged in, execution will stop inside this function.
nsm_auth_delete_password (line 346)
Removes saved password information.
Function must be executed before html output is started.
nsm_auth_read_key (line 295)
Reads encrypted pass password
nsm_auth_read_otp (line 283)
Reads key used to encrypt password
Function works only since 1.3
nsm_auth_read_password (line 264)
Reads and decodes stored user password information
Direct access to password information is deprecated.
nsm_auth_save_password (line 314)
Saves password Function must be executed before html output is started.
nsm_check_httponly_cookies (line 375)
Checks for HTTPOnly cookie support in browsers.
Check works only when function is able to detect used browser.
Broken browsers: * Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
sqauth_read_password (line 253)
Reads and decodes stored user password information
Direct access to password information is deprecated.
Documentation generated on Sun, 22 Nov 2009 17:36:17 +0200 by phpDocumentor 1.4.3