argos/dmp-frontend/src/app/common/http/interceptor-context.ts

11 lines
473 B
TypeScript
Raw Normal View History

2019-01-18 18:03:45 +01:00
import { InterceptorType } from './interceptors/interceptor-type';
export class InterceptorContext {
// If an Interceptor is added here, it wont be used in this request context.
excludedInterceptors?: InterceptorType[] = [];
// If an Interceptor is added here, all requests including requests to external systems will be intercepted.
// By default only requests to the web application's services will be intercepted.
interceptAllRequests?: InterceptorType[] = [];
}