Table of Contents

Interface IFlowsClient

Namespace
Auth0.ManagementApi.Clients
Assembly
Auth0.ManagementApi.dll
public interface IFlowsClient

Methods

CreateAsync(FlowCreateRequest, CancellationToken)

Create a Flow.

Task<Flow> CreateAsync(FlowCreateRequest request, CancellationToken cancellationToken = default)

Parameters

request FlowCreateRequest

FlowCreateRequest

cancellationToken CancellationToken

CancellationToken

Returns

Task<Flow>

A Flow

CreateVaultConnectionAsync(FlowVaultConnectionCreateRequest, CancellationToken)

Create a Flows Vault connection

Task<FlowVaultConnection> CreateVaultConnectionAsync(FlowVaultConnectionCreateRequest request, CancellationToken cancellationToken = default)

Parameters

request FlowVaultConnectionCreateRequest

FlowVaultConnectionCreateRequest

cancellationToken CancellationToken

CancellationToken

Returns

Task<FlowVaultConnection>

A FlowVaultConnection

DeleteAsync(string, CancellationToken)

Delete a Flow

Task DeleteAsync(string id, CancellationToken cancellationToken = default)

Parameters

id string

Identifier of the flow to delete

cancellationToken CancellationToken

CancellationToken

Returns

Task

DeleteFlowExecutionAsync(string, string, CancellationToken)

Delete a FlowExecution

Task DeleteFlowExecutionAsync(string flowId, string executionId, CancellationToken cancellationToken = default)

Parameters

flowId string

Flow identifier for which we need to fetch the execution

executionId string

Flow execution ID

cancellationToken CancellationToken

CancellationToken

Returns

Task

DeleteFlowVaultConnectionAsync(string, CancellationToken)

Task DeleteFlowVaultConnectionAsync(string id, CancellationToken cancellationToken = default)

Parameters

id string

Identifier of the flow to delete

cancellationToken CancellationToken

CancellationToken

Returns

Task

GetAllAsync(FlowGetRequest, CancellationToken)

Get Flows

Task<IPagedList<Flow>> GetAllAsync(FlowGetRequest request, CancellationToken cancellationToken = default)

Parameters

request FlowGetRequest

FlowGetRequest

cancellationToken CancellationToken

CancellationToken

Returns

Task<IPagedList<Flow>>

IPagedList<T> of Flow

GetAllFlowExecutionsAsync(string, CheckpointPaginationInfo, CancellationToken)

Get Flow executions.

Task<ICheckpointPagedList<FlowExecution>> GetAllFlowExecutionsAsync(string flowId, CheckpointPaginationInfo paginationInfo, CancellationToken cancellationToken = default)

Parameters

flowId string

Flow identifier for which we need to fetch the executions

paginationInfo CheckpointPaginationInfo

CheckpointPaginationInfo

cancellationToken CancellationToken

CancellationToken

Returns

Task<ICheckpointPagedList<FlowExecution>>

ICheckpointPagedList<T>"/> list of FlowExecution

GetAllFlowExecutionsAsync(string, PaginationInfo, CancellationToken)

Get Flow executions.

Task<IPagedList<FlowExecution>> GetAllFlowExecutionsAsync(string flowId, PaginationInfo paginationInfo, CancellationToken cancellationToken = default)

Parameters

flowId string

Flow identifier for which we need to fetch the executions

paginationInfo PaginationInfo

PaginationInfo

cancellationToken CancellationToken

CancellationToken

Returns

Task<IPagedList<FlowExecution>>

IPagedList<T> list of FlowExecution

GetAllFlowVaultConnectionsAsync(FlowVaultConnectionGetRequest, CancellationToken)

Task<IPagedList<FlowVaultConnection>> GetAllFlowVaultConnectionsAsync(FlowVaultConnectionGetRequest request, CancellationToken cancellationToken = default)

Parameters

request FlowVaultConnectionGetRequest

FlowVaultConnectionGetRequest

cancellationToken CancellationToken

CancellationToken

Returns

Task<IPagedList<FlowVaultConnection>>

IPagedList<T> of FlowVaultConnection

GetAsync(FlowGetRequest, CancellationToken)

Get a Flow.

Task<Flow> GetAsync(FlowGetRequest request, CancellationToken cancellationToken = default)

Parameters

request FlowGetRequest

FlowGetRequest

cancellationToken CancellationToken

CancellationToken

Returns

Task<Flow>

A Flow

GetFlowExecutionAsync(string, string, CancellationToken)

Task<FlowExecution> GetFlowExecutionAsync(string flowId, string executionId, CancellationToken cancellationToken = default)

Parameters

flowId string

Flow identifier for which we need to fetch the execution

executionId string

Flow execution ID

cancellationToken CancellationToken

CancellationToken

Returns

Task<FlowExecution>

FlowExecution

GetFlowVaultConnectionAsync(FlowVaultConnectionGetRequest, CancellationToken)

Task<FlowVaultConnection> GetFlowVaultConnectionAsync(FlowVaultConnectionGetRequest request, CancellationToken cancellationToken = default)

Parameters

request FlowVaultConnectionGetRequest

FlowVaultConnectionGetRequest

cancellationToken CancellationToken

CancellationToken

Returns

Task<FlowVaultConnection>

A FlowVaultConnection

UpdateAsync(string, FlowUpdateRequest, CancellationToken)

Update a Flow

Task<Flow> UpdateAsync(string id, FlowUpdateRequest request, CancellationToken cancellationToken = default)

Parameters

id string

Identifier of the flow to be updated

request FlowUpdateRequest

FlowUpdateRequest

cancellationToken CancellationToken

CancellationToken

Returns

Task<Flow>

Updated Flow

UpdateFlowVaultConnectionAsync(string, FlowVaultConnectionUpdateRequest, CancellationToken)

Update a Flow

Task<FlowVaultConnection> UpdateFlowVaultConnectionAsync(string id, FlowVaultConnectionUpdateRequest request, CancellationToken cancellationToken = default)

Parameters

id string

Identifier of the flow to be updated

request FlowVaultConnectionUpdateRequest

FlowVaultConnectionUpdateRequest

cancellationToken CancellationToken

CancellationToken

Returns

Task<FlowVaultConnection>

Updated FlowVaultConnection