|
|
@@ -755,11 +755,11 @@ class Zm_Account
|
|
|
return $result;
|
|
|
}
|
|
|
/**
|
|
|
- * setAccountPassword
|
|
|
+ * getAccountToken
|
|
|
* @param string $idOrNameAccount account id or account name
|
|
|
- * @param string $password password
|
|
|
- * @param string $type value of the account (auto, name, id)
|
|
|
- * @return array informations
|
|
|
+ * @param string $preauthKey preauth key
|
|
|
+ * @param string $expire lifetime of token
|
|
|
+ * @return string authToken
|
|
|
*/
|
|
|
|
|
|
function getAccountToken($idOrNameAccount, $preauthKey, $expire, $type="auto")
|