angular-auth-oidc-client
Version:
Angular Lib for OpenID Connect & OAuth2
18 lines (17 loc) • 1.1 kB
TypeScript
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import { AuthStateService } from '../auth-state/auth-state.service';
import { ConfigurationService } from '../config/config.service';
import { LoggerService } from '../logging/logger.service';
import { ClosestMatchingRouteService } from './closest-matching-route.service';
import * as i0 from "@angular/core";
export declare class AuthInterceptor implements HttpInterceptor {
private readonly authStateService;
private readonly configurationService;
private readonly loggerService;
private readonly closestMatchingRouteService;
constructor(authStateService: AuthStateService, configurationService: ConfigurationService, loggerService: LoggerService, closestMatchingRouteService: ClosestMatchingRouteService);
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
static ɵfac: i0.ɵɵFactoryDeclaration<AuthInterceptor, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<AuthInterceptor>;
}