networkClient property

DescopeNetworkClient? networkClient
getter/setter pair

An optional object to override how HTTP requests are performed.

The default value of this property is always null, and the SDK uses its own internal client object to perform HTTP requests.

This property can be useful to test code that uses the Descope SDK without any network requests actually taking place. In most other cases there shouldn't be any need to use it.

Implementation

DescopeNetworkClient? networkClient;