Class BindingsClient
- Namespace
- Auth0.ManagementApi.Actions.Triggers
- Assembly
- Auth0.ManagementApi.dll
public class BindingsClient : IBindingsClient
- Inheritance
-
BindingsClient
- Implements
- Inherited Members
- Extension Methods
Methods
ListAsync(ActionTriggerTypeEnum, ListActionTriggerBindingsRequestParameters, RequestOptions?, CancellationToken)
Retrieve the actions that are bound to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The list of actions returned reflects the order in which they will be executed during the appropriate flow.
public Task<Pager<ActionBinding>> ListAsync(ActionTriggerTypeEnum triggerId, ListActionTriggerBindingsRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
triggerIdActionTriggerTypeEnumrequestListActionTriggerBindingsRequestParametersoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Actions.Triggers.Bindings.ListAsync(
ActionTriggerTypeEnum.PostLogin,
new ListActionTriggerBindingsRequestParameters { Page = 1, PerPage = 1 }
);
UpdateManyAsync(ActionTriggerTypeEnum, UpdateActionBindingsRequestContent, RequestOptions?, CancellationToken)
Update the actions that are bound (i.e. attached) to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The order in which the actions are provided will determine the order in which they are executed.
public WithRawResponseTask<UpdateActionBindingsResponseContent> UpdateManyAsync(ActionTriggerTypeEnum triggerId, UpdateActionBindingsRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
triggerIdActionTriggerTypeEnumrequestUpdateActionBindingsRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Actions.Triggers.Bindings.UpdateManyAsync(
ActionTriggerTypeEnum.PostLogin,
new UpdateActionBindingsRequestContent()
);