oidc-client-rx/src/http/index.ts
2025-02-02 00:45:46 +08:00

18 lines
453 B
TypeScript

import type { HttpFeature, HttpInterceptor } from '@ngify/http';
import { InjectionToken } from 'injection-js';
export { HttpParams, HttpParamsOptions } from './params';
export const HTTP_INTERCEPTORS = new InjectionToken<readonly HttpInterceptor[]>(
'HTTP_INTERCEPTORS'
);
export function provideHttpClient() {
// todo
throw new Error('todo!');
}
export function withInterceptorsFromDi(): HttpFeature {
// todo
throw new Error('todo!');
}