Back to Node Auth0

Class BindingsClient

docs/classes/management.SDK.BindingsClient.html

5.9.15.4 KB
Original Source

Class BindingsClient

Index

Constructors

constructor

Methods

listupdateMany

Properties

_options

Constructors

constructor

new BindingsClient(options: BaseClientOptions): BindingsClient

Parameters

Returns BindingsClient

Methods

list

list(
triggerId: Management.ActionTriggerTypeEnum,
request?: ListActionTriggerBindingsRequestParameters,
requestOptions?: BindingsClient.RequestOptions,
): Promise<Page<ActionBinding, ListActionBindingsPaginatedResponseContent>>

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.

Parameters

An actions extensibility point.

Request-specific configuration.

Returns Promise<Page<ActionBinding, ListActionBindingsPaginatedResponseContent>>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.TooManyRequestsError

Example

await client.actions.triggers.bindings.list("post-login", { page: 1, per_page: 1 })Copy

updateMany

updateMany(
triggerId: Management.ActionTriggerTypeEnum,
request?: UpdateActionBindingsRequestContent,
requestOptions?: BindingsClient.RequestOptions,
): HttpResponsePromise<UpdateActionBindingsResponseContent>

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.

Parameters

An actions extensibility point.

Request-specific configuration.

Returns HttpResponsePromise<UpdateActionBindingsResponseContent>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.TooManyRequestsError

Example

await client.actions.triggers.bindings.updateMany("post-login")Copy

Properties

Protected Readonly_options

_options: NormalizedClientOptionsWithAuth<BaseClientOptions>

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Constructors constructor Methods listupdateMany Properties _options