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
FlowCreateRequestcancellationToken
CancellationToken
Returns
CreateVaultConnectionAsync(FlowVaultConnectionCreateRequest, CancellationToken)
Create a Flows Vault connection
Task<FlowVaultConnection> CreateVaultConnectionAsync(FlowVaultConnectionCreateRequest request, CancellationToken cancellationToken = default)
Parameters
request
FlowVaultConnectionCreateRequestcancellationToken
CancellationToken
Returns
DeleteAsync(string, CancellationToken)
Delete a Flow
Task DeleteAsync(string id, CancellationToken cancellationToken = default)
Parameters
id
stringIdentifier of the flow to delete
cancellationToken
CancellationToken
Returns
DeleteFlowExecutionAsync(string, string, CancellationToken)
Delete a FlowExecution
Task DeleteFlowExecutionAsync(string flowId, string executionId, CancellationToken cancellationToken = default)
Parameters
flowId
stringFlow identifier for which we need to fetch the execution
executionId
stringFlow execution ID
cancellationToken
CancellationToken
Returns
DeleteFlowVaultConnectionAsync(string, CancellationToken)
Delete a FlowVaultConnection
Task DeleteFlowVaultConnectionAsync(string id, CancellationToken cancellationToken = default)
Parameters
id
stringIdentifier of the flow to delete
cancellationToken
CancellationToken
Returns
GetAllAsync(FlowGetRequest, CancellationToken)
Get Flows
Task<IPagedList<Flow>> GetAllAsync(FlowGetRequest request, CancellationToken cancellationToken = default)
Parameters
request
FlowGetRequestcancellationToken
CancellationToken
Returns
GetAllFlowExecutionsAsync(string, CheckpointPaginationInfo, CancellationToken)
Get Flow executions.
Task<ICheckpointPagedList<FlowExecution>> GetAllFlowExecutionsAsync(string flowId, CheckpointPaginationInfo paginationInfo, CancellationToken cancellationToken = default)
Parameters
flowId
stringFlow identifier for which we need to fetch the executions
paginationInfo
CheckpointPaginationInfocancellationToken
CancellationToken
Returns
GetAllFlowExecutionsAsync(string, PaginationInfo, CancellationToken)
Get Flow executions.
Task<IPagedList<FlowExecution>> GetAllFlowExecutionsAsync(string flowId, PaginationInfo paginationInfo, CancellationToken cancellationToken = default)
Parameters
flowId
stringFlow identifier for which we need to fetch the executions
paginationInfo
PaginationInfocancellationToken
CancellationToken
Returns
- Task<IPagedList<FlowExecution>>
IPagedList<T> list of FlowExecution
GetAllFlowVaultConnectionsAsync(FlowVaultConnectionGetRequest, CancellationToken)
Get FlowVaultConnection list
Task<IPagedList<FlowVaultConnection>> GetAllFlowVaultConnectionsAsync(FlowVaultConnectionGetRequest request, CancellationToken cancellationToken = default)
Parameters
request
FlowVaultConnectionGetRequestcancellationToken
CancellationToken
Returns
GetAsync(FlowGetRequest, CancellationToken)
Get a Flow.
Task<Flow> GetAsync(FlowGetRequest request, CancellationToken cancellationToken = default)
Parameters
request
FlowGetRequestcancellationToken
CancellationToken
Returns
GetFlowExecutionAsync(string, string, CancellationToken)
Get a FlowExecution.
Task<FlowExecution> GetFlowExecutionAsync(string flowId, string executionId, CancellationToken cancellationToken = default)
Parameters
flowId
stringFlow identifier for which we need to fetch the execution
executionId
stringFlow execution ID
cancellationToken
CancellationToken
Returns
GetFlowVaultConnectionAsync(FlowVaultConnectionGetRequest, CancellationToken)
Get a FlowVaultConnection.
Task<FlowVaultConnection> GetFlowVaultConnectionAsync(FlowVaultConnectionGetRequest request, CancellationToken cancellationToken = default)
Parameters
request
FlowVaultConnectionGetRequestcancellationToken
CancellationToken
Returns
UpdateAsync(string, FlowUpdateRequest, CancellationToken)
Update a Flow
Task<Flow> UpdateAsync(string id, FlowUpdateRequest request, CancellationToken cancellationToken = default)
Parameters
id
stringIdentifier of the flow to be updated
request
FlowUpdateRequestcancellationToken
CancellationToken
Returns
UpdateFlowVaultConnectionAsync(string, FlowVaultConnectionUpdateRequest, CancellationToken)
Update a Flow
Task<FlowVaultConnection> UpdateFlowVaultConnectionAsync(string id, FlowVaultConnectionUpdateRequest request, CancellationToken cancellationToken = default)
Parameters
id
stringIdentifier of the flow to be updated
request
FlowVaultConnectionUpdateRequestcancellationToken
CancellationToken
Returns
- Task<FlowVaultConnection>
Updated FlowVaultConnection