UNPKG

@studiohyperdrive/ngx-auth

Version:

A library of core authentication functionality used with @studiohyperdrive/types-auth.

10 lines (9 loc) 417 B
import { HttpEvent, HttpHandlerFn, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; /** * An interceptor that will handle any request that needs to be authenticated * * @param request - The provided request * @param next - The HttpHandler */ export declare function NgxAuthenticatedHttpInterceptor(request: HttpRequest<unknown>, next: HttpHandlerFn): Observable<HttpEvent<unknown>>;