How to use the camunda-external-task-client-js.BasicAuthInterceptor function in camunda-external-task-client-js

To help you get started, we’ve selected a few camunda-external-task-client-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github VilledeMontreal / workit / packages / workit-bpm-client / src / utils / utils.ts View on Github external
public static defaultInterceptors() {
    const interceptors: any = [];
    try {
      const basicOauth = IoC.get(SERVICE_IDENTIFIER.camunda_oauth_info);
      interceptors.push(new BasicAuthInterceptor(basicOauth));
    } catch (error) {
      //
    }
    // add default timeout for polling
    interceptors.push(config => {
      config.timeout = GLOBAL_TIMEOUT_PULL;
      return config;
    });
    return interceptors;
  }
  public static getLogger() {

camunda-external-task-client-js

Implement your [BPMN Service Task](https://docs.camunda.org/manual/latest/user-guide/process-engine/external-tasks/) in NodeJS.

Apache-2.0
Latest version published 16 days ago

Package Health Score

81 / 100
Full package analysis

Similar packages