UNPKG

geminis-ng

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.

14 lines (13 loc) 610 B
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import { GnHttpInterceptorConfig } from './HttpInterceptorConfig'; import { GnSiteInfo } from './SiteInfo'; import { Router } from '@angular/router'; export declare class GnOAuthHttpInterceptor implements HttpInterceptor { private config; private siteInfo; private route; private oAuthUtils; constructor(config: GnHttpInterceptorConfig, siteInfo: GnSiteInfo, route: Router); intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; }