Issues (13)

exemples/login.php (1 issue)

Labels
Severity
1
<?php require __DIR__ . "../vendor/autoload.php";
2
3
$token = "octa.************.************";
4
$userName = "";
5
$userPassword = "";
6
$subDomain = "";
7
8
$login = new Login($token, $userName, $userPassword, $subDomain);
0 ignored issues
show
The type Login was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
9
var_dump($login->loginWithToken());
10
/**
11
 *  <b>Obtendo toquem apartir de um login com e-mail, senha e subdominio da octadesk.</b>
12
 *  Este token é utilizado apartir em TODOS os endpoints a partir do login.
13
 */
14
//$token = $login->login()->callback()->token;
15
//$tokenWithApiToken = $login->loginWithToken()->callback()->token;
16
17
//$login->validateSubDomain();