UNPKG

@fingerprintsoft/angular-spring-hal

Version:

This Angular module offers a HAL/JSON http-client to easily interact with a Spring Data Rest API or any API that implements the Spring Data Rest resource model

11 lines (10 loc) 507 B
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http"; import { Observable } from "rxjs"; import * as i0 from "@angular/core"; export declare class AuthInterceptor implements HttpInterceptor { private config; constructor(config: any); intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; static ɵfac: i0.ɵɵFactoryDeclaration<AuthInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<AuthInterceptor>; }