Auth0\SDK\API\Management\Connections::getAll PHP Method

getAll() public method

public getAll ( $strategy = null, $fields = null, $include_fields = null )
    public function getAll($strategy = null, $fields = null, $include_fields = null)
    {
        $request = $this->apiClient->get()->connections();
        if ($strategy !== null) {
            $request->withParam('strategy', $strategy);
        }
        if ($fields !== null) {
            if (is_array($fields)) {
                $fields = implode(',', $fields);
            }
            $request->withParam('fields', $fields);
        }
        if ($include_fields !== null) {
            $request->withParam('include_fields', $include_fields);
        }
        return $request->call();
    }