UNPKG

angular-auth-oidc-client

Version:
14 lines (13 loc) 702 B
import { HttpEvent, HttpHandler, HttpInterceptor, HttpInterceptorFn, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class AuthInterceptor implements HttpInterceptor { private readonly authStateService; private readonly configurationService; private readonly loggerService; private readonly closestMatchingRouteService; intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; static ɵfac: i0.ɵɵFactoryDeclaration<AuthInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<AuthInterceptor>; } export declare function authInterceptor(): HttpInterceptorFn;