toString(); $route->authenticate([ 'username' => 'admin', 'password' => 'password_0', 'clientToken' => $clientToken, ]); $accessToken = $this->grabDataFromResponseByJsonPath('$.accessToken')[0]; return [$accessToken, $clientToken]; } }