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:connectionsscope and any one ofread:clientsorread:client_summary. -
Note: The first time you call this endpoint, omit the
fromparameter. If there are more results, anextvalue is included in the response. You can use this for subsequent API calls. Whennextis 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
idstringrequestConnectionsGetRequestoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Clients.Connections.GetAsync(
"id",
new ConnectionsGetRequest
{
From = "from",
Take = 1,
Fields = "fields",
IncludeFields = true,
}
);