Closed dvdheiden closed 1 year ago
@mbardelmeijer
$login = (new Login())
->setUsername('username')
->setPassword('password');
$response = $api
->authentication()
->login($login);
Results in:
Cyberfusion\ClusterApi\Response {#2402
-statusCode: 200
-statusMessage: "OK"
-data: array:1 [
"token" => Cyberfusion\ClusterApi\Models\Token {#2385
-accessToken: "helemooietokengefilterdvanwegevoordehandliggendesecurityredenen"
-tokenType: "bearer"
-expiresIn: 1800
}
]
}
Changes
Fixed
Thanks to @mbardelmeijer
Checks
Client.php