UNPKG

whodis-react

Version:

React hooks and components for secure, best practices authentication in seconds

25 lines 3.29 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useAuthenticationConfig = exports.isWhodisAuthGoalError = exports.WhodisAuthGoalError = exports.isWhodisBadRequestError = exports.WhodisBadRequestError = exports.getAuthorizationHeader = exports.forgetAuthenticationToken = exports.ContactMethodType = exports.ChallengeGoal = exports.useConfirmationCodeChallenge = exports.getAuthenticationClaims = exports.useAuthenticationClaims = exports.AuthenticationProvider = void 0; var AuthenticationProvider_1 = require("./logic/auth/AuthenticationProvider"); Object.defineProperty(exports, "AuthenticationProvider", { enumerable: true, get: function () { return AuthenticationProvider_1.AuthenticationProvider; } }); var useAuthenticationClaims_1 = require("./logic/auth/useAuthenticationClaims"); Object.defineProperty(exports, "useAuthenticationClaims", { enumerable: true, get: function () { return useAuthenticationClaims_1.useAuthenticationClaims; } }); var getAuthenticationClaims_1 = require("./logic/auth/getAuthenticationClaims"); Object.defineProperty(exports, "getAuthenticationClaims", { enumerable: true, get: function () { return getAuthenticationClaims_1.getAuthenticationClaims; } }); var useConfirmationCodeChallenge_1 = require("./logic/auth/useConfirmationCodeChallenge"); Object.defineProperty(exports, "useConfirmationCodeChallenge", { enumerable: true, get: function () { return useConfirmationCodeChallenge_1.useConfirmationCodeChallenge; } }); Object.defineProperty(exports, "ChallengeGoal", { enumerable: true, get: function () { return useConfirmationCodeChallenge_1.ChallengeGoal; } }); Object.defineProperty(exports, "ContactMethodType", { enumerable: true, get: function () { return useConfirmationCodeChallenge_1.ContactMethodType; } }); var forgetAuthenticationToken_1 = require("./logic/auth/forgetAuthenticationToken"); Object.defineProperty(exports, "forgetAuthenticationToken", { enumerable: true, get: function () { return forgetAuthenticationToken_1.forgetAuthenticationToken; } }); var getAuthorizationHeader_1 = require("./logic/auth/getAuthorizationHeader"); Object.defineProperty(exports, "getAuthorizationHeader", { enumerable: true, get: function () { return getAuthorizationHeader_1.getAuthorizationHeader; } }); var whodis_client_1 = require("whodis-client"); // forward this, so that users only need to import `whodis-react` to get all functionality Object.defineProperty(exports, "WhodisBadRequestError", { enumerable: true, get: function () { return whodis_client_1.WhodisBadRequestError; } }); Object.defineProperty(exports, "isWhodisBadRequestError", { enumerable: true, get: function () { return whodis_client_1.isWhodisBadRequestError; } }); Object.defineProperty(exports, "WhodisAuthGoalError", { enumerable: true, get: function () { return whodis_client_1.WhodisAuthGoalError; } }); Object.defineProperty(exports, "isWhodisAuthGoalError", { enumerable: true, get: function () { return whodis_client_1.isWhodisAuthGoalError; } }); var useAuthenticationConfig_1 = require("./logic/auth/useAuthenticationConfig"); Object.defineProperty(exports, "useAuthenticationConfig", { enumerable: true, get: function () { return useAuthenticationConfig_1.useAuthenticationConfig; } }); //# sourceMappingURL=index.js.map