UNPKG

524 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';
5export declare class NbAuthJWTInterceptor implements HttpInterceptor {
6 private injector;
7 protected filter: any;
8 constructor(injector: Injector, filter: any);
9 intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
10 protected get authService(): NbAuthService;
11}