Class Swift_Authenticator_CRAMMD5

Description

Implements interfaces:

Swift CRAM-MD5 Authenticator

This form of authentication is a secure challenge-response method

Located in /Swift/Authenticator/CRAMMD5.php (line 20)


	
			
Method Summary
static string generateCRAMMD5Hash (string $password, string $challenge)
boolean isAuthenticated (string $user, string $pass,  $swift)
Methods
static method generateCRAMMD5Hash (line 57)

Generate a CRAM-MD5 hash from a challenge

  • access: public
static string generateCRAMMD5Hash (string $password, string $challenge)
  • string $password: The string to get a hash from
  • string $challenge: The challenge to use to make the hash
getAuthExtensionName (line 47)

Return the name of the AUTH extension this is for

  • access: public
string getAuthExtensionName ()

Implementation of:
Swift_Authenticator::getAuthExtensionName()
Return the name of the AUTH extension this is for
isAuthenticated (line 30)

Try to authenticate using the username and password

Returns false on failure

  • access: public
boolean isAuthenticated (string $user, string $pass,  $swift)
  • string $user: The username
  • string $pass: The password
  • Swift $swift: The instance of Swift this authenticator is used in

Implementation of:
Swift_Authenticator::isAuthenticated()
Try to authenticate using the username and password

Documentation generated on Wed, 26 Mar 2008 20:33:05 +1100 by phpDocumentor 1.3.1