UNPKG

706 BTypeScriptView Raw
1import { Injector } from '@angular/core';
2import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
3import { Observable } from 'rxjs';
4import { NbAuthService } from '../auth.service';
5import * as i0 from "@angular/core";
6export declare class NbAuthJWTInterceptor implements HttpInterceptor {
7 private injector;
8 protected filter: any;
9 constructor(injector: Injector, filter: any);
10 intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
11 protected get authService(): NbAuthService;
12 static ɵfac: i0.ɵɵFactoryDeclaration<NbAuthJWTInterceptor, never>;
13 static ɵprov: i0.ɵɵInjectableDeclaration<NbAuthJWTInterceptor>;
14}