# Class: SGConfiguration

## Constructor

#### new SGConfiguration()

  User Configuration information for the service gateway. This class provides the configuration data that allows a connection and access to be made to a service gateway.

## Members

#### credentialProvider :AvayaClientServices.Config.CredentialProvider

  The credential provider.

  ##### Type:

  - AvayaClientServices.Config.CredentialProvider

#### enabled :boolean

  Boolean value indicating whether the service gateway provider is enabled.

  ##### Type:

  - boolean

#### maxCallStartReconnectionAttempts :number

  In the event of a network error, when starting a call to a gateway that the SDK is not already connected to, the SDK will automatically attempt to re-connect
  based on this configuration. This will apply to calls made as a guest and to calls where callCreationInfo.setServiceGatewayURL() is used to specify a different
  gateway. Default is -1 (no limit).

  ##### Type:

  - number

#### networkProviderConfiguration :AvayaClientServices.Config.NetworkProviderConfiguration

  A ServerInfo value indicating the server to connect with.

  ##### Type:

  - AvayaClientServices.Config.NetworkProviderConfiguration