There are parameter issues on file Cakemail\Token.php line 19
$this->createTokenWithHttpInfo($username, $password, $grant_type, $account_id, $scopes);
it return an error since $password is being passed as $grant_type on function createTokenWithHttpInfo
Upon checking the function createToken the parameters is changed in version 1.9.
Cakemail\Token.phpfunction createToken in version 1.9 and 1.6.11
Hi,
There are parameter issues on file
Cakemail\Token.php
line 19$this->createTokenWithHttpInfo($username, $password, $grant_type, $account_id, $scopes);
it return an error since$password
is being passed as$grant_type
onfunction createTokenWithHttpInfo
Upon checking the
function createToken
the parameters is changed in version 1.9.Cakemail\Token.php
function createToken
in version 1.9 and 1.6.11Cakemail\Lib\Api\TokenApi.php
function createTokenWithHttpInfo
In version 1.9:Cakemail\Lib\Api\TokenApi.php
function createTokenWithHttpInfo
In version 1.6.11:It must be
$this->createTokenWithHttpInfo($username, $grant_type, $password, $account_id, $scopes);
Regards.