UNPKG

membros-react-sdk

Version:

React authentication library for Membros platform with subscription management and plan-based access control

13 lines 874 B
export { withAuthenticationRequired } from "./hocs/withAuthenticationRequired"; export { LoginButton } from "./components/LoginButton"; export { LogoutButton } from "./components/LogoutButton"; export { Profile } from "./components/Profile"; export { MembrosProvider, useAuth, signOut } from "./AuthContext"; export { useAuthButton, MembrosAuthButton } from "./AuthButton"; export { withAuth } from "./hocs/withAuth"; export { withAdminAuth } from "./hocs/withAdminAuth"; export { AuthScreen } from "./components/AuthScreen"; export { LoadingScreen } from "./components/LoadingScreen"; export { InadimplentScreen } from "./components/InadimplentScreen"; export type { User, AuthContextType, AuthButtonProps, AuthProviderProps, Subscription, LoginOptions, LogoutOptions, GetTokenOptions, WithAuthenticationRequiredOptions } from "./types"; //# sourceMappingURL=index.d.ts.map