Install via composer
composer require entanet/rest-now
Configuration is done via the config class
$config = new \Now\Client\Config();
$config->base_uri = "https://instance-name.service-now.com";
$config->client_id = '0xx000xxx00';
$config->client_secret = 'client_secret';
$config->username = "[email protected]";
$config->password = 'secret_password';
a second config class can be used to set decide if incremental retry is on, if so the http max retries and max delay in second values, however to ensure rest-now does not break, some default values have been included in the auth class in some CONST variables
http_client.incremental_retry_is_active
http_client.max_delay_between_retries_in_seconds
http_client.max_retries
...
### Authentication