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