UNPKG

@cardboard-box/ngx-box

Version:

A collection of useful directives, components and services for angular

11 lines (10 loc) 587 B
import { HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http"; import { ConfigurationService } from "./config.service"; import * as i0 from "@angular/core"; export declare class AuthInterceptor implements HttpInterceptor { private config; constructor(config: ConfigurationService); intercept(req: HttpRequest<any>, next: HttpHandler): import("rxjs").Observable<import("@angular/common/http").HttpEvent<any>>; static ɵfac: i0.ɵɵFactoryDeclaration<AuthInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<AuthInterceptor>; }