synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
15 lines • 557 B
TypeScript
import { PropsWithChildren } from 'react';
/**
* AuthenticationGuard redirects unauthenticated users to OneSage login
* after session initialization is complete. This component displays a loading
* screen while checking authentication status and handles the redirect flow.
*
* @example
* ```tsx
* <AuthenticationGuard>
* <ProtectedContent />
* </AuthenticationGuard>
* ```
*/
export declare function AuthenticationGuard({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=AuthenticationGuard.d.ts.map