Constructors

  • Connection request model.

    Parameters

    • connectionStatus: string

      The status of the connection.

    • connectedAccountId: string

      The unique identifier of the connected account.

    • Optional redirectUrl: null | string = null

      The redirect URL for completing the connection flow.

    • client: Composio

    Returns ConnectionRequest

Properties

client: Composio
connectedAccountId: string
connectionStatus: string
redirectUrl: null | string

Methods

  • Save user access data.

    Parameters

    • data: {
          entityId?: string;
          fieldInputs: Record<string, string>;
          redirectUrl?: string;
      }

      The data to save.

      • Optional entityId?: string

        The entity ID associated with the user.

      • fieldInputs: Record<string, string>

        The field inputs to save.

      • Optional redirectUrl?: string

        The redirect URL for completing the connection flow.

    Returns Promise<CreateConnectionResponse>

    The response from the server.