UNPKG

membros-react-sdk

Version:

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

31 lines 2.98 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InadimplentScreen = exports.LoadingScreen = exports.AuthScreen = exports.withAdminAuth = exports.withAuth = exports.MembrosAuthButton = exports.useAuthButton = exports.signOut = exports.useAuth = exports.MembrosProvider = exports.Profile = exports.LogoutButton = exports.LoginButton = exports.withAuthenticationRequired = void 0; var withAuthenticationRequired_1 = require("./hocs/withAuthenticationRequired.cjs"); Object.defineProperty(exports, "withAuthenticationRequired", { enumerable: true, get: function () { return withAuthenticationRequired_1.withAuthenticationRequired; } }); var LoginButton_1 = require("./components/LoginButton.cjs"); Object.defineProperty(exports, "LoginButton", { enumerable: true, get: function () { return LoginButton_1.LoginButton; } }); var LogoutButton_1 = require("./components/LogoutButton.cjs"); Object.defineProperty(exports, "LogoutButton", { enumerable: true, get: function () { return LogoutButton_1.LogoutButton; } }); var Profile_1 = require("./components/Profile.cjs"); Object.defineProperty(exports, "Profile", { enumerable: true, get: function () { return Profile_1.Profile; } }); // Membros specific exports (previously legacy) var AuthContext_1 = require("./AuthContext.cjs"); Object.defineProperty(exports, "MembrosProvider", { enumerable: true, get: function () { return AuthContext_1.MembrosProvider; } }); Object.defineProperty(exports, "useAuth", { enumerable: true, get: function () { return AuthContext_1.useAuth; } }); Object.defineProperty(exports, "signOut", { enumerable: true, get: function () { return AuthContext_1.signOut; } }); var AuthButton_1 = require("./AuthButton.cjs"); Object.defineProperty(exports, "useAuthButton", { enumerable: true, get: function () { return AuthButton_1.useAuthButton; } }); Object.defineProperty(exports, "MembrosAuthButton", { enumerable: true, get: function () { return AuthButton_1.MembrosAuthButton; } }); var withAuth_1 = require("./hocs/withAuth.cjs"); Object.defineProperty(exports, "withAuth", { enumerable: true, get: function () { return withAuth_1.withAuth; } }); var withAdminAuth_1 = require("./hocs/withAdminAuth.cjs"); Object.defineProperty(exports, "withAdminAuth", { enumerable: true, get: function () { return withAdminAuth_1.withAdminAuth; } }); // Components var AuthScreen_1 = require("./components/AuthScreen.cjs"); Object.defineProperty(exports, "AuthScreen", { enumerable: true, get: function () { return AuthScreen_1.AuthScreen; } }); var LoadingScreen_1 = require("./components/LoadingScreen.cjs"); Object.defineProperty(exports, "LoadingScreen", { enumerable: true, get: function () { return LoadingScreen_1.LoadingScreen; } }); var InadimplentScreen_1 = require("./components/InadimplentScreen.cjs"); Object.defineProperty(exports, "InadimplentScreen", { enumerable: true, get: function () { return InadimplentScreen_1.InadimplentScreen; } }); //# sourceMappingURL=index.js.map