UNPKG

angular4-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

8 lines (7 loc) 335 B
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http"; import { Observable } from "rxjs"; export declare class AuthInterceptor implements HttpInterceptor { private config; constructor(config: any); intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; }