UNPKG

universal-auth-sdk

Version:

A Universal Authentication SDK for React supporting OAuth, OpenID, SAML, and Kerberos.

12 lines (11 loc) 335 B
import { ReactNode } from "react"; interface AuthContextType { user: any; login: (userData: any) => void; logout: () => void; } export declare const AuthProvider: ({ children }: { children: ReactNode; }) => import("react/jsx-runtime").JSX.Element; export declare const useAuth: () => AuthContextType | null; export {};