public function check_authentication() {

        // allow plugins to remove default authentication or add their own authentication
        $user = apply_filters( 'woocommerce_api_check_authentication', null, $this );