UNPKG

oidc-client-rx

Version:

ReactiveX enhanced OIDC and OAuth2 protocol support for browser-based JavaScript applications

18 lines 714 B
import type { AnyRouter } from "@tanstack/react-router"; import { InjectionToken } from "injection-js"; import type { AuthFeature } from "../../features"; import { AbstractRouter } from "../../router"; export type TanStackRouter = AnyRouter; export declare const TANSTACK_ROUTER: InjectionToken<AnyRouter>; export declare class TanStackRouterAdapter implements AbstractRouter<string> { private router; private beforeLoadToLocation; private destoryRef$; constructor(); navigateByUrl(url: string): void; getCurrentNavigation(): { extractedUrl: string; }; } export declare function withTanstackRouter(router: TanStackRouter): AuthFeature; //# sourceMappingURL=react-router.d.ts.map