Final(?) version

This commit is contained in:
Polonkai Gergely
2011-09-30 13:42:45 +02:00
committed by Polonkai Gergely
parent 30f450df66
commit 31c6abc039
7 changed files with 345 additions and 72 deletions

View File

@@ -23,22 +23,12 @@ interface gatewayBackend
/**
* removeToken() Remove a logged out user's token
*
* @param String $ip
* @param String $sessionId
* @param String $token
*/
public function removeToken($token);
public function removeToken($ip, $sessionId, $token);
/**
* sendSMS()
*
* Send SMS message to recipient's phone number
* @param String $token
* @param String $recipient
* @param String $message
* @param Array $passwordLocations
* @return Boolean
*/
public function sendSMS($token, $recipient, $message, $passwordLocations);
/**
* auditLog() Log audit messages
*
@@ -51,10 +41,11 @@ interface gatewayBackend
/**
* messageLog() Log sent messages
*
* @param String $recipient
* @param String $message
* @param String $ip
* @param Integer $senderId
* @param String $recipient
* @param String $message
* @param String $ip
*/
public function messageLog($recipient, $message, $ip);
public function messageLog($senderId, $recipient, $message, $ip);
}