Table of Contents

Class FlowsClient

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
public class FlowsClient : IFlowsClient
Inheritance
FlowsClient
Implements
Inherited Members
Extension Methods

Properties

Executions

public IExecutionsClient Executions { get; }

Property Value

IExecutionsClient

Vault

public IVaultClient Vault { get; }

Property Value

IVaultClient

Methods

CreateAsync(CreateFlowRequestContent, RequestOptions?, CancellationToken)

public WithRawResponseTask<CreateFlowResponseContent> CreateAsync(CreateFlowRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request CreateFlowRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<CreateFlowResponseContent>

Examples

await client.Flows.CreateAsync(new CreateFlowRequestContent { Name = "name" });

DeleteAsync(string, RequestOptions?, CancellationToken)

public Task DeleteAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
options RequestOptions
cancellationToken CancellationToken

Returns

Task

Examples

await client.Flows.DeleteAsync("id");

GetAsync(string, GetFlowRequestParameters, RequestOptions?, CancellationToken)

public WithRawResponseTask<GetFlowResponseContent> GetAsync(string id, GetFlowRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
request GetFlowRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<GetFlowResponseContent>

Examples

await client.Flows.GetAsync("id", new GetFlowRequestParameters());

ListAsync(ListFlowsRequestParameters, RequestOptions?, CancellationToken)

public Task<Pager<FlowSummary>> ListAsync(ListFlowsRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request ListFlowsRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

Task<Pager<FlowSummary>>

Examples

await client.Flows.ListAsync(
    new ListFlowsRequestParameters
    {
        Page = 1,
        PerPage = 1,
        IncludeTotals = true,
        Synchronous = true,
    }
);

UpdateAsync(string, UpdateFlowRequestContent, RequestOptions?, CancellationToken)

public WithRawResponseTask<UpdateFlowResponseContent> UpdateAsync(string id, UpdateFlowRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
request UpdateFlowRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<UpdateFlowResponseContent>

Examples

await client.Flows.UpdateAsync("id", new UpdateFlowRequestContent());