UNPKG

@alfresco/adf-core

Version:
11 lines (10 loc) 540 B
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class TokenInterceptor implements HttpInterceptor { private readonly _oauthStorage; private readonly _oauthService; intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>; static ɵfac: i0.ɵɵFactoryDeclaration<TokenInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TokenInterceptor>; }