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