Table of Contents

Class ConnectionsClient

Namespace
Auth0.ManagementApi.Clients
Assembly
Auth0.ManagementApi.dll
public class ConnectionsClient : IConnectionsClient
Inheritance
ConnectionsClient
Implements
Inherited Members
Extension Methods

Methods

GetAsync(string, ConnectionsGetRequest, RequestOptions?, CancellationToken)

Retrieve all connections that are enabled for the specified Application, using checkpoint pagination. A list of fields to include or exclude for each connection may also be specified.

  • This endpoint requires the read:connections scope and any one of read:clients or read:client_summary.
  • Note: The first time you call this endpoint, omit the from parameter. If there are more results, a next value is included in the response. You can use this for subsequent API calls. When next is no longer included in the response, no further results are remaining.
public Task<Pager<ConnectionForList>> GetAsync(string id, ConnectionsGetRequest request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
request ConnectionsGetRequest
options RequestOptions
cancellationToken CancellationToken

Returns

Task<Pager<ConnectionForList>>

Examples

await client.Clients.Connections.GetAsync(
    "id",
    new ConnectionsGetRequest
    {
        From = "from",
        Take = 1,
        Fields = "fields",
        IncludeFields = true,
    }
);