Explorar o código

add authtoken call

andre %!s(int64=5) %!d(string=hai) anos
pai
achega
fd13b24c7f
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      api/Zm/Account.php

+ 4 - 4
api/Zm/Account.php

@@ -755,11 +755,11 @@ class Zm_Account
 		return $result;
 		return $result;
 	}
 	}
 	/**
 	/**
-	 * setAccountPassword
+	 * getAccountToken
 	 * @param string $idOrNameAccount account id or account name
 	 * @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")
 	function getAccountToken($idOrNameAccount, $preauthKey, $expire, $type="auto")