import {HTTP_INTERCEPTORS} from "@angular/common/http";
import {
  FormDirtyInterceptor,
  HttpSecurityErrorInterceptor,
  HttpSecurityInterceptor
} from "@webbpm/base-package";

export const DEFAULT_HTTP_INTERCEPTOR_PROVIDERS = [
  {provide: HTTP_INTERCEPTORS, useClass: HttpSecurityInterceptor, multi: true},
  {provide: HTTP_INTERCEPTORS, useClass: HttpSecurityErrorInterceptor, multi: true},
  {provide: HTTP_INTERCEPTORS, useClass: FormDirtyInterceptor, multi: true}
];
