src/Bigcommerce/Api/Client.php
public static function configure($settings)
    {
        if (isset($settings['client_id'])) {
            self::configureOAuth($settings);
        } else {
            self::configureBasicAuth($settings);
        }
    }
public static function configure($settings)
    {
        if (isset($settings['client_id'])) {
            self::configureOAuth($settings);
        } else {
            self::configureBasicAuth($settings);
        }
    }
public static function configure ( $ settings ) { if ( isset ( $ settings [ 'client_id' ] ) ) { self :: configureOAuth ( $ settings ) ; } else { self :: configureBasicAuth ( $ settings ) ; } }
Configure the API client with the required settings to access
the API for a store.

Accepts OAuth and (for now!) Basic Auth credentials

@param array $settings
Configure the API client with the required settings to access the API for a store .