ngx-gem-spaas
Version:
This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.
15 lines (14 loc) • 756 B
TypeScript
import { Observable } from 'rxjs';
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
import { OktaService } from "../_services/okta.service";
import { SpaasConfigModel } from "../_models/config.model";
import * as i0 from "@angular/core";
export declare class OktaAuthInterceptor implements HttpInterceptor {
private readonly spaasConfig;
private oktaService;
private static checkUrlsToIntercept;
constructor(spaasConfig: SpaasConfigModel, oktaService: OktaService);
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
static ɵfac: i0.ɵɵFactoryDeclaration<OktaAuthInterceptor, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<OktaAuthInterceptor>;
}