1 | import { Injector } from '@angular/core';
|
2 | import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
3 | import { Observable } from 'rxjs';
|
4 | import { NbAuthService } from '../auth.service';
|
5 | import * as i0 from "@angular/core";
|
6 | export 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 | }
|