@frontegg/js 7.121.0 → 7.122.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/node/index.js +1 -1
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/umd/frontegg.development.js +454 -185
- package/umd/frontegg.production.min.js +1 -1
- package/umd/frontegg.production.min.js.LICENSE.txt +1 -1
- package/version.js +1 -1
|
@@ -1924,7 +1924,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1924
1924
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1925
1925
|
/* harmony export */ });
|
|
1926
1926
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
1927
|
-
cdnVersion: '7.
|
|
1927
|
+
cdnVersion: '7.122.0'
|
|
1928
1928
|
});
|
|
1929
1929
|
|
|
1930
1930
|
/***/ }),
|
|
@@ -7849,6 +7849,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7849
7849
|
Object.assign(mfaState, {
|
|
7850
7850
|
step: (0,_helpers__WEBPACK_IMPORTED_MODULE_4__.getMfaStepForNotEnrolledUsers)(user.mfaStrategies),
|
|
7851
7851
|
qrCode: user.qrCode,
|
|
7852
|
+
secret: user.secret,
|
|
7852
7853
|
recoveryCode: user.recoveryCode,
|
|
7853
7854
|
loading: false,
|
|
7854
7855
|
mfaToken: user.mfaToken,
|
|
@@ -7904,16 +7905,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7904
7905
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
|
|
7905
7906
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../../node_modules/@babel/runtime/helpers/esm/extends.js");
|
|
7906
7907
|
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../interfaces */ "../../dist/@frontegg/redux-store/auth/LoginState/interfaces.js");
|
|
7907
|
-
/* harmony import */ var
|
|
7908
|
-
/* harmony import */ var
|
|
7908
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/gtm.js");
|
|
7909
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/handlers.js");
|
|
7909
7910
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers */ "../../dist/@frontegg/redux-store/auth/helpers.js");
|
|
7910
7911
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../helpers */ "../../dist/@frontegg/redux-store/auth/LoginState/helpers.js");
|
|
7912
|
+
/* harmony import */ var _helpers_persistPreferredMfaMethod__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/persistPreferredMfaMethod */ "../../dist/@frontegg/redux-store/auth/LoginState/helpers/persistPreferredMfaMethod.js");
|
|
7911
7913
|
|
|
7912
7914
|
|
|
7913
7915
|
const _excluded = ["callback"];
|
|
7914
7916
|
|
|
7915
7917
|
|
|
7916
7918
|
|
|
7919
|
+
|
|
7917
7920
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((store, api, sharedActions) => {
|
|
7918
7921
|
const actions = sharedActions;
|
|
7919
7922
|
|
|
@@ -8023,6 +8026,7 @@ const _excluded = ["callback"];
|
|
|
8023
8026
|
tenants = [],
|
|
8024
8027
|
activeTenant
|
|
8025
8028
|
} = await api.auth.loginWithMfaV2(loginWithMfaPayload);
|
|
8029
|
+
(0,_helpers_persistPreferredMfaMethod__WEBPACK_IMPORTED_MODULE_5__.persistPreferredMfaMethod)(store, 'authenticatorApp');
|
|
8026
8030
|
const isAuthenticated = !!user.accessToken;
|
|
8027
8031
|
const additionalUpdate = await __buildPostAuthStateUpdate(tenants, isAuthenticated, isStepUp);
|
|
8028
8032
|
await actions.afterAuthenticationStateUpdate({
|
|
@@ -8039,7 +8043,7 @@ const _excluded = ["callback"];
|
|
|
8039
8043
|
email: user.email,
|
|
8040
8044
|
name: user.name
|
|
8041
8045
|
};
|
|
8042
|
-
(0,
|
|
8046
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_6__.reportGTMEvent)(_helpers__WEBPACK_IMPORTED_MODULE_6__.GTMEventAction.LOGIN_COMPLETED, loginCompletedPayload);
|
|
8043
8047
|
}
|
|
8044
8048
|
if (user.id) {
|
|
8045
8049
|
localStorage.setItem('userId', user.id);
|
|
@@ -8055,7 +8059,7 @@ const _excluded = ["callback"];
|
|
|
8055
8059
|
} catch (e) {
|
|
8056
8060
|
setLoadingAction({
|
|
8057
8061
|
loading: false,
|
|
8058
|
-
error: (0,
|
|
8062
|
+
error: (0,_helpers__WEBPACK_IMPORTED_MODULE_7__.errorHandler)(e)
|
|
8059
8063
|
});
|
|
8060
8064
|
callback == null ? void 0 : callback(false, e);
|
|
8061
8065
|
}
|
|
@@ -8094,11 +8098,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8094
8098
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
|
|
8095
8099
|
/* harmony import */ var _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../MfaState/interfaces */ "../../dist/@frontegg/redux-store/auth/MfaState/interfaces.js");
|
|
8096
8100
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/handlers.js");
|
|
8101
|
+
/* harmony import */ var _helpers_persistPreferredMfaMethod__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/persistPreferredMfaMethod */ "../../dist/@frontegg/redux-store/auth/LoginState/helpers/persistPreferredMfaMethod.js");
|
|
8097
8102
|
|
|
8098
8103
|
const _excluded = ["callback"],
|
|
8099
8104
|
_excluded2 = ["callback"];
|
|
8100
8105
|
|
|
8101
8106
|
|
|
8107
|
+
|
|
8102
8108
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((store, api, sharedActions) => {
|
|
8103
8109
|
const actions = sharedActions;
|
|
8104
8110
|
/**
|
|
@@ -8155,6 +8161,7 @@ const _excluded = ["callback"],
|
|
|
8155
8161
|
});
|
|
8156
8162
|
try {
|
|
8157
8163
|
const data = await api.auth.verifyMFAEmailCodeV2(payload);
|
|
8164
|
+
(0,_helpers_persistPreferredMfaMethod__WEBPACK_IMPORTED_MODULE_3__.persistPreferredMfaMethod)(store, 'email');
|
|
8158
8165
|
await actions.handleVerifyMFAResponse(data);
|
|
8159
8166
|
setLoadingAction({
|
|
8160
8167
|
loading: false,
|
|
@@ -8212,11 +8219,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8212
8219
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
|
|
8213
8220
|
/* harmony import */ var _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../MfaState/interfaces */ "../../dist/@frontegg/redux-store/auth/MfaState/interfaces.js");
|
|
8214
8221
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/handlers.js");
|
|
8222
|
+
/* harmony import */ var _helpers_persistPreferredMfaMethod__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/persistPreferredMfaMethod */ "../../dist/@frontegg/redux-store/auth/LoginState/helpers/persistPreferredMfaMethod.js");
|
|
8215
8223
|
|
|
8216
8224
|
const _excluded = ["callback", "deviceId"],
|
|
8217
8225
|
_excluded2 = ["callback", "deviceId"];
|
|
8218
8226
|
|
|
8219
8227
|
|
|
8228
|
+
|
|
8220
8229
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((store, api, sharedActions) => {
|
|
8221
8230
|
const actions = sharedActions;
|
|
8222
8231
|
|
|
@@ -8278,6 +8287,7 @@ const _excluded = ["callback", "deviceId"],
|
|
|
8278
8287
|
});
|
|
8279
8288
|
try {
|
|
8280
8289
|
const data = await api.auth.verifyMFASMSForLoginV2(deviceId, payload);
|
|
8290
|
+
(0,_helpers_persistPreferredMfaMethod__WEBPACK_IMPORTED_MODULE_3__.persistPreferredMfaMethod)(store, 'sms');
|
|
8281
8291
|
await actions.handleVerifyMFAResponse(data, isStepUp);
|
|
8282
8292
|
setLoadingAction({
|
|
8283
8293
|
loading: false,
|
|
@@ -8339,11 +8349,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8339
8349
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/encoders.js");
|
|
8340
8350
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/handlers.js");
|
|
8341
8351
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/converters.js");
|
|
8352
|
+
/* harmony import */ var _preferredMfaMethod__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../preferredMfaMethod */ "../../dist/@frontegg/redux-store/auth/LoginState/preferredMfaMethod.js");
|
|
8353
|
+
/* harmony import */ var _helpers_persistPreferredMfaMethod__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/persistPreferredMfaMethod */ "../../dist/@frontegg/redux-store/auth/LoginState/helpers/persistPreferredMfaMethod.js");
|
|
8342
8354
|
|
|
8343
8355
|
|
|
8344
8356
|
const _excluded = ["callback", "deviceId"],
|
|
8345
8357
|
_excluded2 = ["callback", "deviceId"];
|
|
8346
8358
|
|
|
8359
|
+
|
|
8360
|
+
|
|
8347
8361
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((store, api, sharedActions) => {
|
|
8348
8362
|
const actions = sharedActions;
|
|
8349
8363
|
|
|
@@ -8414,6 +8428,11 @@ const _excluded = ["callback", "deviceId"],
|
|
|
8414
8428
|
const data = await api.auth.verifyMFAWebAuthnForLoginV2(deviceId, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, payload, {
|
|
8415
8429
|
options: publicKey
|
|
8416
8430
|
}));
|
|
8431
|
+
const mfaDevices = isStepUp ? store.auth.stepUpState.mfaDevices : store.auth.mfaState.mfaDevices;
|
|
8432
|
+
const deviceType = (0,_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_5__.findWebAuthnDeviceTypeById)(mfaDevices, deviceId);
|
|
8433
|
+
if (deviceType) {
|
|
8434
|
+
(0,_helpers_persistPreferredMfaMethod__WEBPACK_IMPORTED_MODULE_6__.persistPreferredMfaMethod)(store, (0,_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_5__.getPreferredMfaMethodFromWebAuthnDeviceType)(deviceType));
|
|
8435
|
+
}
|
|
8417
8436
|
await actions.handleVerifyMFAResponse(data, isStepUp);
|
|
8418
8437
|
setLoadingAction({
|
|
8419
8438
|
loading: false,
|
|
@@ -8545,9 +8564,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8545
8564
|
/* harmony export */ isUsernamePayload: () => (/* binding */ isUsernamePayload),
|
|
8546
8565
|
/* harmony export */ shouldShowPasswordRotationPromptFunc: () => (/* binding */ shouldShowPasswordRotationPromptFunc)
|
|
8547
8566
|
/* harmony export */ });
|
|
8548
|
-
/* harmony import */ var
|
|
8567
|
+
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/auth/interfaces.js");
|
|
8549
8568
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/ContextHolder/index.js");
|
|
8550
|
-
/* harmony import */ var
|
|
8569
|
+
/* harmony import */ var _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../MfaState/interfaces */ "../../dist/@frontegg/redux-store/auth/MfaState/interfaces.js");
|
|
8551
8570
|
|
|
8552
8571
|
|
|
8553
8572
|
const isAbsoluteUrl = path => {
|
|
@@ -8626,7 +8645,8 @@ const getSearchParam = key => {
|
|
|
8626
8645
|
};
|
|
8627
8646
|
const TENANT_ID_PARAM_KEY = 'tenantId';
|
|
8628
8647
|
const getNumberOfMfaDevices = mfaDevices => {
|
|
8629
|
-
|
|
8648
|
+
// Count platform / cross-platform separately — matches the MFA picker options.
|
|
8649
|
+
const numberOfWebAuthnDevices = Number(mfaDevices.webauthn.some(device => device.deviceType === _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__.WebAuthnDeviceType.Platform)) + Number(mfaDevices.webauthn.some(device => device.deviceType === _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__.WebAuthnDeviceType.CrossPlatform));
|
|
8630
8650
|
const numberOfPhoneDevices = +Boolean(mfaDevices.phones.length);
|
|
8631
8651
|
const numberOfAuthenticators = +Boolean(mfaDevices.authenticators.length);
|
|
8632
8652
|
const numberOfEmails = +Boolean(mfaDevices.emails.length);
|
|
@@ -8648,27 +8668,27 @@ const getMfaStepForEnrolledUsers = mfaDevices => {
|
|
|
8648
8668
|
} = getNumberOfMfaDevices(mfaDevices);
|
|
8649
8669
|
if (totalDevices === 1) {
|
|
8650
8670
|
if (numberOfAuthenticators) {
|
|
8651
|
-
return
|
|
8671
|
+
return _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStep.authenticatorApp;
|
|
8652
8672
|
} else if (numberOfPhoneDevices) {
|
|
8653
|
-
return
|
|
8673
|
+
return _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStep.smsVerifyCode;
|
|
8654
8674
|
} else if (numberOfEmails) {
|
|
8655
|
-
return
|
|
8675
|
+
return _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStep.emailVerifyCode;
|
|
8656
8676
|
}
|
|
8657
8677
|
}
|
|
8658
|
-
return
|
|
8678
|
+
return _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStep.verify;
|
|
8659
8679
|
};
|
|
8660
8680
|
const getMfaStepForNotEnrolledUsers = mfaStrategies => {
|
|
8661
8681
|
if (mfaStrategies.length === 1) {
|
|
8662
8682
|
const [strategy] = mfaStrategies;
|
|
8663
|
-
if (strategy ===
|
|
8664
|
-
return
|
|
8665
|
-
} else if (strategy ===
|
|
8666
|
-
return
|
|
8667
|
-
} else if (strategy ===
|
|
8668
|
-
return
|
|
8683
|
+
if (strategy === _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__.MFAStrategyEnum.AuthenticatorApp) {
|
|
8684
|
+
return _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStep.authenticatorApp;
|
|
8685
|
+
} else if (strategy === _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__.MFAStrategyEnum.SMS) {
|
|
8686
|
+
return _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStep.smsSetPhoneNumber;
|
|
8687
|
+
} else if (strategy === _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__.MFAStrategyEnum.EmailCode) {
|
|
8688
|
+
return _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStep.emailVerifyCode;
|
|
8669
8689
|
}
|
|
8670
8690
|
}
|
|
8671
|
-
return
|
|
8691
|
+
return _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStep.verify;
|
|
8672
8692
|
};
|
|
8673
8693
|
const isOauthCallbackRoute = activeUri => {
|
|
8674
8694
|
return activeUri === '/oauth/callback';
|
|
@@ -8692,6 +8712,43 @@ const shouldShowPasswordRotationPromptFunc = user => {
|
|
|
8692
8712
|
|
|
8693
8713
|
/***/ }),
|
|
8694
8714
|
|
|
8715
|
+
/***/ "../../dist/@frontegg/redux-store/auth/LoginState/helpers/persistPreferredMfaMethod.js":
|
|
8716
|
+
/*!*********************************************************************************************!*\
|
|
8717
|
+
!*** ../../dist/@frontegg/redux-store/auth/LoginState/helpers/persistPreferredMfaMethod.js ***!
|
|
8718
|
+
\*********************************************************************************************/
|
|
8719
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8720
|
+
|
|
8721
|
+
"use strict";
|
|
8722
|
+
__webpack_require__.r(__webpack_exports__);
|
|
8723
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8724
|
+
/* harmony export */ getPreferredMfaAppKey: () => (/* binding */ getPreferredMfaAppKey),
|
|
8725
|
+
/* harmony export */ persistPreferredMfaMethod: () => (/* binding */ persistPreferredMfaMethod)
|
|
8726
|
+
/* harmony export */ });
|
|
8727
|
+
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/ContextHolder/index.js");
|
|
8728
|
+
/* harmony import */ var _preferredMfaMethod__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../preferredMfaMethod */ "../../dist/@frontegg/redux-store/auth/LoginState/preferredMfaMethod.js");
|
|
8729
|
+
|
|
8730
|
+
|
|
8731
|
+
|
|
8732
|
+
/**
|
|
8733
|
+
* Resolve a stable application key for preferred-MFA session storage.
|
|
8734
|
+
* Prefers appId (multi-app), then clientId, then appName.
|
|
8735
|
+
*/
|
|
8736
|
+
const getPreferredMfaAppKey = store => {
|
|
8737
|
+
const appName = store.root.appName;
|
|
8738
|
+
const context = _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__.ContextHolder.for(appName).getContext();
|
|
8739
|
+
return context.appId || context.clientId || appName || 'default';
|
|
8740
|
+
};
|
|
8741
|
+
|
|
8742
|
+
/**
|
|
8743
|
+
* Persist preferred MFA method after a successful challenge.
|
|
8744
|
+
* Always writes; themeOptions.rememberLastMfaFactor only gates whether it is applied.
|
|
8745
|
+
*/
|
|
8746
|
+
const persistPreferredMfaMethod = (store, method) => {
|
|
8747
|
+
(0,_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_1__.setPreferredMfaMethod)(getPreferredMfaAppKey(store), method);
|
|
8748
|
+
};
|
|
8749
|
+
|
|
8750
|
+
/***/ }),
|
|
8751
|
+
|
|
8695
8752
|
/***/ "../../dist/@frontegg/redux-store/auth/LoginState/helpers/tenantSelect.js":
|
|
8696
8753
|
/*!********************************************************************************!*\
|
|
8697
8754
|
!*** ../../dist/@frontegg/redux-store/auth/LoginState/helpers/tenantSelect.js ***!
|
|
@@ -8928,6 +8985,181 @@ function isHostedOAuthStateExpired() {
|
|
|
8928
8985
|
|
|
8929
8986
|
/***/ }),
|
|
8930
8987
|
|
|
8988
|
+
/***/ "../../dist/@frontegg/redux-store/auth/LoginState/preferredMfaMethod.js":
|
|
8989
|
+
/*!******************************************************************************!*\
|
|
8990
|
+
!*** ../../dist/@frontegg/redux-store/auth/LoginState/preferredMfaMethod.js ***!
|
|
8991
|
+
\******************************************************************************/
|
|
8992
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8993
|
+
|
|
8994
|
+
"use strict";
|
|
8995
|
+
__webpack_require__.r(__webpack_exports__);
|
|
8996
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8997
|
+
/* harmony export */ clearPreferredMfaMethod: () => (/* binding */ clearPreferredMfaMethod),
|
|
8998
|
+
/* harmony export */ findWebAuthnDeviceTypeById: () => (/* binding */ findWebAuthnDeviceTypeById),
|
|
8999
|
+
/* harmony export */ getPreferredMfaApplyAction: () => (/* binding */ getPreferredMfaApplyAction),
|
|
9000
|
+
/* harmony export */ getPreferredMfaMethod: () => (/* binding */ getPreferredMfaMethod),
|
|
9001
|
+
/* harmony export */ getPreferredMfaMethodFromWebAuthnDeviceType: () => (/* binding */ getPreferredMfaMethodFromWebAuthnDeviceType),
|
|
9002
|
+
/* harmony export */ getPreferredMfaStorageKey: () => (/* binding */ getPreferredMfaStorageKey),
|
|
9003
|
+
/* harmony export */ isPreferredMfaMethod: () => (/* binding */ isPreferredMfaMethod),
|
|
9004
|
+
/* harmony export */ resolvePreferredMfa: () => (/* binding */ resolvePreferredMfa),
|
|
9005
|
+
/* harmony export */ setPreferredMfaMethod: () => (/* binding */ setPreferredMfaMethod)
|
|
9006
|
+
/* harmony export */ });
|
|
9007
|
+
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/auth/interfaces.js");
|
|
9008
|
+
/* harmony import */ var _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../MfaState/interfaces */ "../../dist/@frontegg/redux-store/auth/MfaState/interfaces.js");
|
|
9009
|
+
|
|
9010
|
+
|
|
9011
|
+
const STORAGE_KEY_PREFIX = 'frontegg-preferred-mfa-method';
|
|
9012
|
+
const PREFERRED_MFA_METHODS = new Set(['sms', 'email', 'authenticatorApp', 'webauthnPlatform', 'webauthnCrossPlatform']);
|
|
9013
|
+
const getPreferredMfaStorageKey = appKey => `${STORAGE_KEY_PREFIX}:${appKey}`;
|
|
9014
|
+
const isPreferredMfaMethod = value => typeof value === 'string' && PREFERRED_MFA_METHODS.has(value);
|
|
9015
|
+
|
|
9016
|
+
/**
|
|
9017
|
+
* Persist the last successful MFA method for this browser session, keyed by application.
|
|
9018
|
+
*/
|
|
9019
|
+
const setPreferredMfaMethod = (appKey, method) => {
|
|
9020
|
+
if (typeof window === 'undefined') {
|
|
9021
|
+
return;
|
|
9022
|
+
}
|
|
9023
|
+
try {
|
|
9024
|
+
window.sessionStorage.setItem(getPreferredMfaStorageKey(appKey), method);
|
|
9025
|
+
} catch {
|
|
9026
|
+
// sessionStorage may be unavailable (private mode / quota) — ignore
|
|
9027
|
+
}
|
|
9028
|
+
};
|
|
9029
|
+
|
|
9030
|
+
/**
|
|
9031
|
+
* Read the remembered MFA method for this browser session, if any.
|
|
9032
|
+
*/
|
|
9033
|
+
const getPreferredMfaMethod = appKey => {
|
|
9034
|
+
if (typeof window === 'undefined') {
|
|
9035
|
+
return null;
|
|
9036
|
+
}
|
|
9037
|
+
try {
|
|
9038
|
+
const value = window.sessionStorage.getItem(getPreferredMfaStorageKey(appKey));
|
|
9039
|
+
return isPreferredMfaMethod(value) ? value : null;
|
|
9040
|
+
} catch {
|
|
9041
|
+
return null;
|
|
9042
|
+
}
|
|
9043
|
+
};
|
|
9044
|
+
const clearPreferredMfaMethod = appKey => {
|
|
9045
|
+
if (typeof window === 'undefined') {
|
|
9046
|
+
return;
|
|
9047
|
+
}
|
|
9048
|
+
try {
|
|
9049
|
+
window.sessionStorage.removeItem(getPreferredMfaStorageKey(appKey));
|
|
9050
|
+
} catch {
|
|
9051
|
+
// ignore
|
|
9052
|
+
}
|
|
9053
|
+
};
|
|
9054
|
+
const hasPhoneDevices = mfaDevices => mfaDevices.phones.length > 0;
|
|
9055
|
+
const hasEmails = mfaDevices => mfaDevices.emails.length > 0;
|
|
9056
|
+
const hasAuthenticators = mfaDevices => mfaDevices.authenticators.length > 0;
|
|
9057
|
+
const hasWebAuthnDevice = (mfaDevices, deviceType) => mfaDevices.webauthn.some(device => device.deviceType === deviceType);
|
|
9058
|
+
|
|
9059
|
+
/**
|
|
9060
|
+
* Map a stored preferred MFA method to a concrete MFA step / WebAuthn action,
|
|
9061
|
+
* only when that method is still enrolled and available.
|
|
9062
|
+
*/
|
|
9063
|
+
const resolvePreferredMfa = (preferred, mfaDevices) => {
|
|
9064
|
+
if (!preferred || !mfaDevices) {
|
|
9065
|
+
return {
|
|
9066
|
+
type: 'none'
|
|
9067
|
+
};
|
|
9068
|
+
}
|
|
9069
|
+
switch (preferred) {
|
|
9070
|
+
case 'sms':
|
|
9071
|
+
return hasPhoneDevices(mfaDevices) ? {
|
|
9072
|
+
type: 'step',
|
|
9073
|
+
step: _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_0__.MFAStep.smsVerifyCode
|
|
9074
|
+
} : {
|
|
9075
|
+
type: 'none'
|
|
9076
|
+
};
|
|
9077
|
+
case 'email':
|
|
9078
|
+
return hasEmails(mfaDevices) ? {
|
|
9079
|
+
type: 'step',
|
|
9080
|
+
step: _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_0__.MFAStep.emailVerifyCode
|
|
9081
|
+
} : {
|
|
9082
|
+
type: 'none'
|
|
9083
|
+
};
|
|
9084
|
+
case 'authenticatorApp':
|
|
9085
|
+
return hasAuthenticators(mfaDevices) ? {
|
|
9086
|
+
type: 'step',
|
|
9087
|
+
step: _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_0__.MFAStep.authenticatorApp
|
|
9088
|
+
} : {
|
|
9089
|
+
type: 'none'
|
|
9090
|
+
};
|
|
9091
|
+
case 'webauthnPlatform':
|
|
9092
|
+
return hasWebAuthnDevice(mfaDevices, _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.WebAuthnDeviceType.Platform) ? {
|
|
9093
|
+
type: 'webauthn',
|
|
9094
|
+
deviceType: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.WebAuthnDeviceType.Platform
|
|
9095
|
+
} : {
|
|
9096
|
+
type: 'none'
|
|
9097
|
+
};
|
|
9098
|
+
case 'webauthnCrossPlatform':
|
|
9099
|
+
return hasWebAuthnDevice(mfaDevices, _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.WebAuthnDeviceType.CrossPlatform) ? {
|
|
9100
|
+
type: 'webauthn',
|
|
9101
|
+
deviceType: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.WebAuthnDeviceType.CrossPlatform
|
|
9102
|
+
} : {
|
|
9103
|
+
type: 'none'
|
|
9104
|
+
};
|
|
9105
|
+
default:
|
|
9106
|
+
{
|
|
9107
|
+
const _exhaustive = preferred;
|
|
9108
|
+
return _exhaustive;
|
|
9109
|
+
}
|
|
9110
|
+
}
|
|
9111
|
+
};
|
|
9112
|
+
const getPreferredMfaMethodFromWebAuthnDeviceType = deviceType => {
|
|
9113
|
+
return deviceType === _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.WebAuthnDeviceType.Platform ? 'webauthnPlatform' : 'webauthnCrossPlatform';
|
|
9114
|
+
};
|
|
9115
|
+
const findWebAuthnDeviceTypeById = (mfaDevices, deviceId) => {
|
|
9116
|
+
var _mfaDevices$webauthn$;
|
|
9117
|
+
return mfaDevices == null ? void 0 : (_mfaDevices$webauthn$ = mfaDevices.webauthn.find(device => device.id === deviceId)) == null ? void 0 : _mfaDevices$webauthn$.deviceType;
|
|
9118
|
+
};
|
|
9119
|
+
/**
|
|
9120
|
+
* Pure decision for whether / how to apply a stored preferred MFA factor.
|
|
9121
|
+
* Used by the login-box MFAFlow when themeOptions.rememberLastMfaFactor is on.
|
|
9122
|
+
*/
|
|
9123
|
+
const getPreferredMfaApplyAction = ({
|
|
9124
|
+
rememberLastMfaFactor,
|
|
9125
|
+
alreadyApplied,
|
|
9126
|
+
step,
|
|
9127
|
+
preferred,
|
|
9128
|
+
mfaDevices,
|
|
9129
|
+
mfaWebAuthnPlatformDeviceId,
|
|
9130
|
+
mfaWebAuthnCrossPlatformDeviceId
|
|
9131
|
+
}) => {
|
|
9132
|
+
if (!rememberLastMfaFactor || alreadyApplied || step !== _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_0__.MFAStep.verify) {
|
|
9133
|
+
return {
|
|
9134
|
+
action: 'none'
|
|
9135
|
+
};
|
|
9136
|
+
}
|
|
9137
|
+
const resolution = resolvePreferredMfa(preferred, mfaDevices);
|
|
9138
|
+
if (resolution.type === 'none') {
|
|
9139
|
+
return {
|
|
9140
|
+
action: 'none'
|
|
9141
|
+
};
|
|
9142
|
+
}
|
|
9143
|
+
if (resolution.type === 'step') {
|
|
9144
|
+
return {
|
|
9145
|
+
action: 'setStep',
|
|
9146
|
+
step: resolution.step
|
|
9147
|
+
};
|
|
9148
|
+
}
|
|
9149
|
+
const deviceId = resolution.deviceType === _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.WebAuthnDeviceType.Platform ? mfaWebAuthnPlatformDeviceId : mfaWebAuthnCrossPlatformDeviceId;
|
|
9150
|
+
if (!deviceId) {
|
|
9151
|
+
return {
|
|
9152
|
+
action: 'none'
|
|
9153
|
+
};
|
|
9154
|
+
}
|
|
9155
|
+
return {
|
|
9156
|
+
action: 'webauthn',
|
|
9157
|
+
deviceId
|
|
9158
|
+
};
|
|
9159
|
+
};
|
|
9160
|
+
|
|
9161
|
+
/***/ }),
|
|
9162
|
+
|
|
8931
9163
|
/***/ "../../dist/@frontegg/redux-store/auth/LoginState/state.js":
|
|
8932
9164
|
/*!*****************************************************************!*\
|
|
8933
9165
|
!*** ../../dist/@frontegg/redux-store/auth/LoginState/state.js ***!
|
|
@@ -10575,12 +10807,14 @@ const _excluded = ["callback"],
|
|
|
10575
10807
|
});
|
|
10576
10808
|
try {
|
|
10577
10809
|
const {
|
|
10578
|
-
qrCode
|
|
10810
|
+
qrCode,
|
|
10811
|
+
secret
|
|
10579
10812
|
} = await api.auth.enrollMfa();
|
|
10580
10813
|
setMfaState({
|
|
10581
10814
|
saving: false,
|
|
10582
10815
|
error: undefined,
|
|
10583
|
-
qrCode
|
|
10816
|
+
qrCode,
|
|
10817
|
+
secret
|
|
10584
10818
|
});
|
|
10585
10819
|
} catch (e) {
|
|
10586
10820
|
setMfaState({
|
|
@@ -18552,95 +18786,104 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18552
18786
|
/* harmony export */ UserVerifiedOriginTypes: () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_21__.UserVerifiedOriginTypes),
|
|
18553
18787
|
/* harmony export */ buildAuthActions: () => (/* binding */ buildAuthActions),
|
|
18554
18788
|
/* harmony export */ clearHostedOAuthState: () => (/* reexport safe */ _LoginState_oauthStorage__WEBPACK_IMPORTED_MODULE_23__.clearHostedOAuthState),
|
|
18789
|
+
/* harmony export */ clearPreferredMfaMethod: () => (/* reexport safe */ _LoginState_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_24__.clearPreferredMfaMethod),
|
|
18555
18790
|
/* harmony export */ createAuthState: () => (/* binding */ createAuthState),
|
|
18791
|
+
/* harmony export */ findWebAuthnDeviceTypeById: () => (/* reexport safe */ _LoginState_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_24__.findWebAuthnDeviceTypeById),
|
|
18556
18792
|
/* harmony export */ getEntitlements: () => (/* reexport safe */ _Entitlements_helpers__WEBPACK_IMPORTED_MODULE_6__.getEntitlements),
|
|
18557
18793
|
/* harmony export */ getFeatureEntitlements: () => (/* reexport safe */ _Entitlements_helpers__WEBPACK_IMPORTED_MODULE_6__.getFeatureEntitlements),
|
|
18558
18794
|
/* harmony export */ getPermissionEntitlements: () => (/* reexport safe */ _Entitlements_helpers__WEBPACK_IMPORTED_MODULE_6__.getPermissionEntitlements),
|
|
18559
|
-
/* harmony export */
|
|
18795
|
+
/* harmony export */ getPreferredMfaApplyAction: () => (/* reexport safe */ _LoginState_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_24__.getPreferredMfaApplyAction),
|
|
18796
|
+
/* harmony export */ getPreferredMfaMethod: () => (/* reexport safe */ _LoginState_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_24__.getPreferredMfaMethod),
|
|
18797
|
+
/* harmony export */ getPreferredMfaMethodFromWebAuthnDeviceType: () => (/* reexport safe */ _LoginState_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_24__.getPreferredMfaMethodFromWebAuthnDeviceType),
|
|
18798
|
+
/* harmony export */ getPreferredMfaStorageKey: () => (/* reexport safe */ _LoginState_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_24__.getPreferredMfaStorageKey),
|
|
18799
|
+
/* harmony export */ getSwitchableTenants: () => (/* reexport safe */ _LoginState_helpers_tenantSelect__WEBPACK_IMPORTED_MODULE_25__.getSwitchableTenants),
|
|
18560
18800
|
/* harmony export */ isEntitlementsDeeplyEqual: () => (/* reexport safe */ _Entitlements_helpers__WEBPACK_IMPORTED_MODULE_6__.isEntitlementsDeeplyEqual),
|
|
18561
18801
|
/* harmony export */ isHostedOAuthStateExpired: () => (/* reexport safe */ _LoginState_oauthStorage__WEBPACK_IMPORTED_MODULE_23__.isHostedOAuthStateExpired),
|
|
18802
|
+
/* harmony export */ isPreferredMfaMethod: () => (/* reexport safe */ _LoginState_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_24__.isPreferredMfaMethod),
|
|
18562
18803
|
/* harmony export */ markHostedOAuthStateSaved: () => (/* reexport safe */ _LoginState_oauthStorage__WEBPACK_IMPORTED_MODULE_23__.markHostedOAuthStateSaved),
|
|
18563
|
-
/* harmony export */
|
|
18804
|
+
/* harmony export */ resolvePreferredMfa: () => (/* reexport safe */ _LoginState_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_24__.resolvePreferredMfa),
|
|
18805
|
+
/* harmony export */ setPreferredMfaMethod: () => (/* reexport safe */ _LoginState_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_24__.setPreferredMfaMethod),
|
|
18806
|
+
/* harmony export */ shouldPromptChooseTenant: () => (/* reexport safe */ _LoginState_helpers_tenantSelect__WEBPACK_IMPORTED_MODULE_25__.shouldPromptChooseTenant)
|
|
18564
18807
|
/* harmony export */ });
|
|
18565
18808
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../../node_modules/@babel/runtime/helpers/esm/extends.js");
|
|
18566
18809
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
|
|
18567
|
-
/* harmony import */ var
|
|
18568
|
-
/* harmony import */ var
|
|
18569
|
-
/* harmony import */ var
|
|
18570
|
-
/* harmony import */ var
|
|
18571
|
-
/* harmony import */ var
|
|
18572
|
-
/* harmony import */ var
|
|
18573
|
-
/* harmony import */ var
|
|
18574
|
-
/* harmony import */ var
|
|
18575
|
-
/* harmony import */ var
|
|
18576
|
-
/* harmony import */ var
|
|
18577
|
-
/* harmony import */ var
|
|
18578
|
-
/* harmony import */ var
|
|
18579
|
-
/* harmony import */ var
|
|
18580
|
-
/* harmony import */ var
|
|
18581
|
-
/* harmony import */ var
|
|
18582
|
-
/* harmony import */ var
|
|
18810
|
+
/* harmony import */ var _AcceptInvitationState__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./AcceptInvitationState */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/state.js");
|
|
18811
|
+
/* harmony import */ var _AcceptInvitationState__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./AcceptInvitationState */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/actions.js");
|
|
18812
|
+
/* harmony import */ var _AccountSettingsState__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./AccountSettingsState */ "../../dist/@frontegg/redux-store/auth/AccountSettingsState/state.js");
|
|
18813
|
+
/* harmony import */ var _AccountSettingsState__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./AccountSettingsState */ "../../dist/@frontegg/redux-store/auth/AccountSettingsState/actions.js");
|
|
18814
|
+
/* harmony import */ var _ActivateAccountState__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./ActivateAccountState */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/state.js");
|
|
18815
|
+
/* harmony import */ var _ActivateAccountState__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./ActivateAccountState */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/actions.js");
|
|
18816
|
+
/* harmony import */ var _UnlockAccountState__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./UnlockAccountState */ "../../dist/@frontegg/redux-store/auth/UnlockAccountState/state.js");
|
|
18817
|
+
/* harmony import */ var _UnlockAccountState__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./UnlockAccountState */ "../../dist/@frontegg/redux-store/auth/UnlockAccountState/actions.js");
|
|
18818
|
+
/* harmony import */ var _ApprovalFlowState__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./ApprovalFlowState */ "../../dist/@frontegg/redux-store/auth/ApprovalFlowState/state.js");
|
|
18819
|
+
/* harmony import */ var _ApprovalFlowState__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./ApprovalFlowState */ "../../dist/@frontegg/redux-store/auth/ApprovalFlowState/actions.js");
|
|
18820
|
+
/* harmony import */ var _ApiTokensState__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./ApiTokensState */ "../../dist/@frontegg/redux-store/auth/ApiTokensState/state.js");
|
|
18821
|
+
/* harmony import */ var _ApiTokensState__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./ApiTokensState */ "../../dist/@frontegg/redux-store/auth/ApiTokensState/actions.js");
|
|
18822
|
+
/* harmony import */ var _ApplicationsState__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./ApplicationsState */ "../../dist/@frontegg/redux-store/auth/ApplicationsState/state.js");
|
|
18823
|
+
/* harmony import */ var _ApplicationsState__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./ApplicationsState */ "../../dist/@frontegg/redux-store/auth/ApplicationsState/actions.js");
|
|
18824
|
+
/* harmony import */ var _CustomLoginState__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./CustomLoginState */ "../../dist/@frontegg/redux-store/auth/CustomLoginState/state.js");
|
|
18825
|
+
/* harmony import */ var _CustomLoginState__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./CustomLoginState */ "../../dist/@frontegg/redux-store/auth/CustomLoginState/actions.js");
|
|
18583
18826
|
/* harmony import */ var _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./ForgotPasswordState */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/consts.js");
|
|
18584
|
-
/* harmony import */ var
|
|
18585
|
-
/* harmony import */ var
|
|
18586
|
-
/* harmony import */ var
|
|
18587
|
-
/* harmony import */ var
|
|
18588
|
-
/* harmony import */ var
|
|
18589
|
-
/* harmony import */ var
|
|
18590
|
-
/* harmony import */ var
|
|
18591
|
-
/* harmony import */ var
|
|
18592
|
-
/* harmony import */ var
|
|
18593
|
-
/* harmony import */ var
|
|
18594
|
-
/* harmony import */ var
|
|
18595
|
-
/* harmony import */ var
|
|
18596
|
-
/* harmony import */ var
|
|
18597
|
-
/* harmony import */ var
|
|
18598
|
-
/* harmony import */ var
|
|
18599
|
-
/* harmony import */ var
|
|
18600
|
-
/* harmony import */ var
|
|
18601
|
-
/* harmony import */ var
|
|
18602
|
-
/* harmony import */ var
|
|
18603
|
-
/* harmony import */ var
|
|
18604
|
-
/* harmony import */ var
|
|
18605
|
-
/* harmony import */ var
|
|
18606
|
-
/* harmony import */ var
|
|
18607
|
-
/* harmony import */ var
|
|
18608
|
-
/* harmony import */ var
|
|
18609
|
-
/* harmony import */ var
|
|
18610
|
-
/* harmony import */ var
|
|
18611
|
-
/* harmony import */ var
|
|
18612
|
-
/* harmony import */ var
|
|
18613
|
-
/* harmony import */ var
|
|
18614
|
-
/* harmony import */ var
|
|
18615
|
-
/* harmony import */ var
|
|
18616
|
-
/* harmony import */ var
|
|
18617
|
-
/* harmony import */ var
|
|
18618
|
-
/* harmony import */ var
|
|
18619
|
-
/* harmony import */ var
|
|
18620
|
-
/* harmony import */ var
|
|
18621
|
-
/* harmony import */ var
|
|
18622
|
-
/* harmony import */ var
|
|
18623
|
-
/* harmony import */ var
|
|
18624
|
-
/* harmony import */ var
|
|
18625
|
-
/* harmony import */ var
|
|
18626
|
-
/* harmony import */ var
|
|
18627
|
-
/* harmony import */ var
|
|
18628
|
-
/* harmony import */ var
|
|
18629
|
-
/* harmony import */ var
|
|
18630
|
-
/* harmony import */ var
|
|
18631
|
-
/* harmony import */ var
|
|
18632
|
-
/* harmony import */ var
|
|
18633
|
-
/* harmony import */ var
|
|
18634
|
-
/* harmony import */ var
|
|
18635
|
-
/* harmony import */ var
|
|
18636
|
-
/* harmony import */ var
|
|
18637
|
-
/* harmony import */ var
|
|
18638
|
-
/* harmony import */ var
|
|
18639
|
-
/* harmony import */ var
|
|
18640
|
-
/* harmony import */ var
|
|
18641
|
-
/* harmony import */ var
|
|
18642
|
-
/* harmony import */ var
|
|
18643
|
-
/* harmony import */ var
|
|
18827
|
+
/* harmony import */ var _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ForgotPasswordState */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/state.js");
|
|
18828
|
+
/* harmony import */ var _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./ForgotPasswordState */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/actions.js");
|
|
18829
|
+
/* harmony import */ var _PasswordRotationState__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./PasswordRotationState */ "../../dist/@frontegg/redux-store/auth/PasswordRotationState/state.js");
|
|
18830
|
+
/* harmony import */ var _PasswordRotationState__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./PasswordRotationState */ "../../dist/@frontegg/redux-store/auth/PasswordRotationState/actions.js");
|
|
18831
|
+
/* harmony import */ var _GroupsState__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./GroupsState */ "../../dist/@frontegg/redux-store/auth/GroupsState/state.js");
|
|
18832
|
+
/* harmony import */ var _GroupsState__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./GroupsState */ "../../dist/@frontegg/redux-store/auth/GroupsState/actions.js");
|
|
18833
|
+
/* harmony import */ var _GroupsDialogsState__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./GroupsDialogsState */ "../../dist/@frontegg/redux-store/auth/GroupsDialogsState/state.js");
|
|
18834
|
+
/* harmony import */ var _GroupsDialogsState__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./GroupsDialogsState */ "../../dist/@frontegg/redux-store/auth/GroupsDialogsState/actions.js");
|
|
18835
|
+
/* harmony import */ var _ImpersonateState__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./ImpersonateState */ "../../dist/@frontegg/redux-store/auth/ImpersonateState/state.js");
|
|
18836
|
+
/* harmony import */ var _ImpersonateState__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./ImpersonateState */ "../../dist/@frontegg/redux-store/auth/ImpersonateState/actions.js");
|
|
18837
|
+
/* harmony import */ var _LoginState__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./LoginState */ "../../dist/@frontegg/redux-store/auth/LoginState/state.js");
|
|
18838
|
+
/* harmony import */ var _LoginState__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./LoginState */ "../../dist/@frontegg/redux-store/auth/LoginState/actions/index.js");
|
|
18839
|
+
/* harmony import */ var _MfaState__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./MfaState */ "../../dist/@frontegg/redux-store/auth/MfaState/state.js");
|
|
18840
|
+
/* harmony import */ var _MfaState__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./MfaState */ "../../dist/@frontegg/redux-store/auth/MfaState/actions.js");
|
|
18841
|
+
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/state.js");
|
|
18842
|
+
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/dialogs/state.js");
|
|
18843
|
+
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/actions.js");
|
|
18844
|
+
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/dialogs/actions.js");
|
|
18845
|
+
/* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/state.js");
|
|
18846
|
+
/* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/actions.js");
|
|
18847
|
+
/* harmony import */ var _ProfileState__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./ProfileState */ "../../dist/@frontegg/redux-store/auth/ProfileState/state.js");
|
|
18848
|
+
/* harmony import */ var _ProfileState__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./ProfileState */ "../../dist/@frontegg/redux-store/auth/ProfileState/actions.js");
|
|
18849
|
+
/* harmony import */ var _ProvisioningState__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./ProvisioningState */ "../../dist/@frontegg/redux-store/auth/ProvisioningState/state.js");
|
|
18850
|
+
/* harmony import */ var _ProvisioningState__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./ProvisioningState */ "../../dist/@frontegg/redux-store/auth/ProvisioningState/actions.js");
|
|
18851
|
+
/* harmony import */ var _ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./ResetPhoneNumberState */ "../../dist/@frontegg/redux-store/auth/ResetPhoneNumberState/state.js");
|
|
18852
|
+
/* harmony import */ var _ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./ResetPhoneNumberState */ "../../dist/@frontegg/redux-store/auth/ResetPhoneNumberState/actions.js");
|
|
18853
|
+
/* harmony import */ var _RolesState__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./RolesState */ "../../dist/@frontegg/redux-store/auth/RolesState/state.js");
|
|
18854
|
+
/* harmony import */ var _RolesState__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./RolesState */ "../../dist/@frontegg/redux-store/auth/RolesState/actions.js");
|
|
18855
|
+
/* harmony import */ var _Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./Security/RestrictionsState */ "../../dist/@frontegg/redux-store/auth/Security/RestrictionsState/state.js");
|
|
18856
|
+
/* harmony import */ var _Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./Security/RestrictionsState */ "../../dist/@frontegg/redux-store/auth/Security/RestrictionsState/actions.js");
|
|
18857
|
+
/* harmony import */ var _Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./Security/SecurityCenterState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityCenterState/state.js");
|
|
18858
|
+
/* harmony import */ var _Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./Security/SecurityCenterState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityCenterState/actions.js");
|
|
18859
|
+
/* harmony import */ var _Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./Security/SecurityPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityPolicyState/state.js");
|
|
18860
|
+
/* harmony import */ var _Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./Security/SecurityPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityPolicyState/actions.js");
|
|
18861
|
+
/* harmony import */ var _Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./Security/SessionsPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SessionsPolicyState/state.js");
|
|
18862
|
+
/* harmony import */ var _Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./Security/SessionsPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SessionsPolicyState/actions.js");
|
|
18863
|
+
/* harmony import */ var _SessionsState__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./SessionsState */ "../../dist/@frontegg/redux-store/auth/SessionsState/state.js");
|
|
18864
|
+
/* harmony import */ var _SessionsState__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./SessionsState */ "../../dist/@frontegg/redux-store/auth/SessionsState/actions.js");
|
|
18865
|
+
/* harmony import */ var _SignUpState__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./SignUpState */ "../../dist/@frontegg/redux-store/auth/SignUpState/state.js");
|
|
18866
|
+
/* harmony import */ var _SignUpState__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./SignUpState */ "../../dist/@frontegg/redux-store/auth/SignUpState/actions.js");
|
|
18867
|
+
/* harmony import */ var _SmsState__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./SmsState */ "../../dist/@frontegg/redux-store/auth/SmsState/state.js");
|
|
18868
|
+
/* harmony import */ var _SmsState__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./SmsState */ "../../dist/@frontegg/redux-store/auth/SmsState/actions.js");
|
|
18869
|
+
/* harmony import */ var _SocialLoginState__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./SocialLoginState */ "../../dist/@frontegg/redux-store/auth/SocialLoginState/state.js");
|
|
18870
|
+
/* harmony import */ var _SocialLoginState__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ./SocialLoginState */ "../../dist/@frontegg/redux-store/auth/SocialLoginState/actions.js");
|
|
18871
|
+
/* harmony import */ var _SSOState__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./SSOState */ "../../dist/@frontegg/redux-store/auth/SSOState/state.js");
|
|
18872
|
+
/* harmony import */ var _SSOState__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ./SSOState */ "../../dist/@frontegg/redux-store/auth/SSOState/actions/index.js");
|
|
18873
|
+
/* harmony import */ var _StepUpState__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./StepUpState */ "../../dist/@frontegg/redux-store/auth/StepUpState/state.js");
|
|
18874
|
+
/* harmony import */ var _StepUpState__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ./StepUpState */ "../../dist/@frontegg/redux-store/auth/StepUpState/actions/index.js");
|
|
18875
|
+
/* harmony import */ var _TeamState__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./TeamState */ "../../dist/@frontegg/redux-store/auth/TeamState/state.js");
|
|
18876
|
+
/* harmony import */ var _TeamState__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ./TeamState */ "../../dist/@frontegg/redux-store/auth/TeamState/actions/index.js");
|
|
18877
|
+
/* harmony import */ var _TenantsState__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./TenantsState */ "../../dist/@frontegg/redux-store/auth/TenantsState/state.js");
|
|
18878
|
+
/* harmony import */ var _TenantsState__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ./TenantsState */ "../../dist/@frontegg/redux-store/auth/TenantsState/actions.js");
|
|
18879
|
+
/* harmony import */ var _UsernamesState__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./UsernamesState */ "../../dist/@frontegg/redux-store/auth/UsernamesState/state.js");
|
|
18880
|
+
/* harmony import */ var _UsernamesState__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./UsernamesState */ "../../dist/@frontegg/redux-store/auth/UsernamesState/actions.js");
|
|
18881
|
+
/* harmony import */ var _UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./UsersEmailsPolicyState */ "../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/state.js");
|
|
18882
|
+
/* harmony import */ var _UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./UsersEmailsPolicyState */ "../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/actions.js");
|
|
18883
|
+
/* harmony import */ var _LoginState_consts__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./LoginState/consts */ "../../dist/@frontegg/redux-store/auth/LoginState/consts.js");
|
|
18884
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../helpers */ "../../dist/@frontegg/redux-store/helpers/common.js");
|
|
18885
|
+
/* harmony import */ var _Entitlements__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./Entitlements */ "../../dist/@frontegg/redux-store/auth/Entitlements/actions.js");
|
|
18886
|
+
/* harmony import */ var _toolkit_proxy__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../toolkit/proxy */ "../../dist/@frontegg/redux-store/toolkit/proxy.js");
|
|
18644
18887
|
/* harmony import */ var _AcceptInvitationState_interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AcceptInvitationState/interfaces */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/interfaces.js");
|
|
18645
18888
|
/* harmony import */ var _ActivateAccountState_interfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ActivateAccountState/interfaces */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/interfaces.js");
|
|
18646
18889
|
/* harmony import */ var _ApprovalFlowState_interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ApprovalFlowState/interfaces */ "../../dist/@frontegg/redux-store/auth/ApprovalFlowState/interfaces.js");
|
|
@@ -18662,7 +18905,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18662
18905
|
/* harmony import */ var _UsersEmailsPolicyState_interfaces__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./UsersEmailsPolicyState/interfaces */ "../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/interfaces.js");
|
|
18663
18906
|
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./interfaces */ "../../dist/@frontegg/redux-store/auth/interfaces.js");
|
|
18664
18907
|
/* harmony import */ var _LoginState_oauthStorage__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./LoginState/oauthStorage */ "../../dist/@frontegg/redux-store/auth/LoginState/oauthStorage.js");
|
|
18665
|
-
/* harmony import */ var
|
|
18908
|
+
/* harmony import */ var _LoginState_preferredMfaMethod__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./LoginState/preferredMfaMethod */ "../../dist/@frontegg/redux-store/auth/LoginState/preferredMfaMethod.js");
|
|
18909
|
+
/* harmony import */ var _LoginState_helpers_tenantSelect__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./LoginState/helpers/tenantSelect */ "../../dist/@frontegg/redux-store/auth/LoginState/helpers/tenantSelect.js");
|
|
18666
18910
|
|
|
18667
18911
|
|
|
18668
18912
|
const _excluded = ["routes"],
|
|
@@ -18745,6 +18989,7 @@ const _excluded = ["routes"],
|
|
|
18745
18989
|
|
|
18746
18990
|
|
|
18747
18991
|
|
|
18992
|
+
|
|
18748
18993
|
|
|
18749
18994
|
|
|
18750
18995
|
const createAuthState = _overrideState => {
|
|
@@ -18753,8 +18998,8 @@ const createAuthState = _overrideState => {
|
|
|
18753
18998
|
routes
|
|
18754
18999
|
} = _ref,
|
|
18755
19000
|
overrideState = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, _excluded);
|
|
18756
|
-
return (0,
|
|
18757
|
-
routes: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({},
|
|
19001
|
+
return (0,_toolkit_proxy__WEBPACK_IMPORTED_MODULE_26__.createProxy)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
|
|
19002
|
+
routes: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _LoginState_consts__WEBPACK_IMPORTED_MODULE_27__.defaultFronteggRoutes, routes),
|
|
18758
19003
|
onRedirectTo: () => void 0,
|
|
18759
19004
|
isAuthenticated: false,
|
|
18760
19005
|
isLoading: true,
|
|
@@ -18768,49 +19013,49 @@ const createAuthState = _overrideState => {
|
|
|
18768
19013
|
}
|
|
18769
19014
|
}, overrideState, {
|
|
18770
19015
|
// nested states
|
|
18771
|
-
acceptInvitationState: (0,
|
|
18772
|
-
accountSettingsState: (0,
|
|
18773
|
-
activateAccountState: (0,
|
|
18774
|
-
unlockAccountState: (0,
|
|
18775
|
-
approvalFlowState: (0,
|
|
18776
|
-
apiTokensState: (0,
|
|
18777
|
-
applicationsState: (0,
|
|
18778
|
-
customLoginState: (0,
|
|
18779
|
-
forgotPasswordState: (0,
|
|
18780
|
-
passwordRotationState: (0,
|
|
18781
|
-
groupsState: (0,
|
|
18782
|
-
groupsDialogsState: (0,
|
|
18783
|
-
impersonateState: (0,
|
|
18784
|
-
loginState: (0,
|
|
18785
|
-
mfaState: (0,
|
|
18786
|
-
allAccountsState: (0,
|
|
18787
|
-
allAccountsDialogsState: (0,
|
|
18788
|
-
passkeysState: (0,
|
|
18789
|
-
profileState: (0,
|
|
18790
|
-
provisioningState: (0,
|
|
18791
|
-
resetPhoneNumberState: (0,
|
|
18792
|
-
rolesState: (0,
|
|
18793
|
-
restrictionsState: (0,
|
|
18794
|
-
securityCenterState: (0,
|
|
18795
|
-
securityPolicyState: (0,
|
|
18796
|
-
sessionsPolicyState: (0,
|
|
18797
|
-
sessionsState: (0,
|
|
18798
|
-
signUpState: (0,
|
|
18799
|
-
smsState: (0,
|
|
18800
|
-
socialLoginState: (0,
|
|
18801
|
-
ssoState: (0,
|
|
18802
|
-
stepUpState: (0,
|
|
18803
|
-
teamState: (0,
|
|
18804
|
-
tenantsState: (0,
|
|
18805
|
-
usernamesState: (0,
|
|
18806
|
-
userEmailPolicyState: (0,
|
|
19016
|
+
acceptInvitationState: (0,_AcceptInvitationState__WEBPACK_IMPORTED_MODULE_28__["default"])(overrideState == null ? void 0 : overrideState.acceptInvitationState),
|
|
19017
|
+
accountSettingsState: (0,_AccountSettingsState__WEBPACK_IMPORTED_MODULE_29__["default"])(overrideState == null ? void 0 : overrideState.accountSettingsState),
|
|
19018
|
+
activateAccountState: (0,_ActivateAccountState__WEBPACK_IMPORTED_MODULE_30__["default"])(overrideState == null ? void 0 : overrideState.activateAccountState),
|
|
19019
|
+
unlockAccountState: (0,_UnlockAccountState__WEBPACK_IMPORTED_MODULE_31__["default"])(overrideState == null ? void 0 : overrideState.unlockAccountState),
|
|
19020
|
+
approvalFlowState: (0,_ApprovalFlowState__WEBPACK_IMPORTED_MODULE_32__["default"])(overrideState == null ? void 0 : overrideState.approvalFlowState),
|
|
19021
|
+
apiTokensState: (0,_ApiTokensState__WEBPACK_IMPORTED_MODULE_33__["default"])(overrideState == null ? void 0 : overrideState.apiTokensState),
|
|
19022
|
+
applicationsState: (0,_ApplicationsState__WEBPACK_IMPORTED_MODULE_34__["default"])(overrideState == null ? void 0 : overrideState.applicationsState),
|
|
19023
|
+
customLoginState: (0,_CustomLoginState__WEBPACK_IMPORTED_MODULE_35__["default"])(overrideState == null ? void 0 : overrideState.customLoginState),
|
|
19024
|
+
forgotPasswordState: (0,_ForgotPasswordState__WEBPACK_IMPORTED_MODULE_36__["default"])(overrideState == null ? void 0 : overrideState.forgotPasswordState),
|
|
19025
|
+
passwordRotationState: (0,_PasswordRotationState__WEBPACK_IMPORTED_MODULE_37__["default"])(overrideState == null ? void 0 : overrideState.passwordRotationState),
|
|
19026
|
+
groupsState: (0,_GroupsState__WEBPACK_IMPORTED_MODULE_38__["default"])(overrideState == null ? void 0 : overrideState.groupsState),
|
|
19027
|
+
groupsDialogsState: (0,_GroupsDialogsState__WEBPACK_IMPORTED_MODULE_39__["default"])(overrideState == null ? void 0 : overrideState.groupsDialogsState),
|
|
19028
|
+
impersonateState: (0,_ImpersonateState__WEBPACK_IMPORTED_MODULE_40__["default"])(overrideState == null ? void 0 : overrideState.impersonateState),
|
|
19029
|
+
loginState: (0,_LoginState__WEBPACK_IMPORTED_MODULE_41__["default"])(overrideState == null ? void 0 : overrideState.loginState),
|
|
19030
|
+
mfaState: (0,_MfaState__WEBPACK_IMPORTED_MODULE_42__["default"])(overrideState == null ? void 0 : overrideState.mfaState),
|
|
19031
|
+
allAccountsState: (0,_MSP__WEBPACK_IMPORTED_MODULE_43__["default"])(overrideState == null ? void 0 : overrideState.allAccountsState),
|
|
19032
|
+
allAccountsDialogsState: (0,_MSP__WEBPACK_IMPORTED_MODULE_44__["default"])(overrideState == null ? void 0 : overrideState.allAccountsDialogsState),
|
|
19033
|
+
passkeysState: (0,_PasskeysState__WEBPACK_IMPORTED_MODULE_45__["default"])(overrideState == null ? void 0 : overrideState.passkeysState),
|
|
19034
|
+
profileState: (0,_ProfileState__WEBPACK_IMPORTED_MODULE_46__["default"])(overrideState == null ? void 0 : overrideState.profileState),
|
|
19035
|
+
provisioningState: (0,_ProvisioningState__WEBPACK_IMPORTED_MODULE_47__["default"])(overrideState == null ? void 0 : overrideState.provisioningState),
|
|
19036
|
+
resetPhoneNumberState: (0,_ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_48__["default"])(overrideState == null ? void 0 : overrideState.resetPhoneNumberState),
|
|
19037
|
+
rolesState: (0,_RolesState__WEBPACK_IMPORTED_MODULE_49__["default"])(overrideState == null ? void 0 : overrideState.rolesState),
|
|
19038
|
+
restrictionsState: (0,_Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_50__["default"])(overrideState == null ? void 0 : overrideState.restrictionsState),
|
|
19039
|
+
securityCenterState: (0,_Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_51__["default"])(overrideState == null ? void 0 : overrideState.securityCenterState),
|
|
19040
|
+
securityPolicyState: (0,_Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_52__["default"])(overrideState == null ? void 0 : overrideState.securityPolicyState),
|
|
19041
|
+
sessionsPolicyState: (0,_Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_53__["default"])(overrideState == null ? void 0 : overrideState.sessionsPolicyState),
|
|
19042
|
+
sessionsState: (0,_SessionsState__WEBPACK_IMPORTED_MODULE_54__["default"])(overrideState == null ? void 0 : overrideState.sessionsState),
|
|
19043
|
+
signUpState: (0,_SignUpState__WEBPACK_IMPORTED_MODULE_55__["default"])(overrideState == null ? void 0 : overrideState.signUpState),
|
|
19044
|
+
smsState: (0,_SmsState__WEBPACK_IMPORTED_MODULE_56__["default"])(overrideState == null ? void 0 : overrideState.smsState),
|
|
19045
|
+
socialLoginState: (0,_SocialLoginState__WEBPACK_IMPORTED_MODULE_57__["default"])(overrideState == null ? void 0 : overrideState.socialLoginState),
|
|
19046
|
+
ssoState: (0,_SSOState__WEBPACK_IMPORTED_MODULE_58__["default"])(overrideState == null ? void 0 : overrideState.ssoState),
|
|
19047
|
+
stepUpState: (0,_StepUpState__WEBPACK_IMPORTED_MODULE_59__["default"])(overrideState == null ? void 0 : overrideState.stepUpState),
|
|
19048
|
+
teamState: (0,_TeamState__WEBPACK_IMPORTED_MODULE_60__["default"])(overrideState == null ? void 0 : overrideState.teamState),
|
|
19049
|
+
tenantsState: (0,_TenantsState__WEBPACK_IMPORTED_MODULE_61__["default"])(overrideState == null ? void 0 : overrideState.tenantsState),
|
|
19050
|
+
usernamesState: (0,_UsernamesState__WEBPACK_IMPORTED_MODULE_62__["default"])(overrideState == null ? void 0 : overrideState.usernamesState),
|
|
19051
|
+
userEmailPolicyState: (0,_UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_63__["default"])(overrideState == null ? void 0 : overrideState.userEmailPolicyState)
|
|
18807
19052
|
}));
|
|
18808
19053
|
};
|
|
18809
19054
|
const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
18810
19055
|
const setAuthState = state => {
|
|
18811
19056
|
Object.keys(state).forEach(key => {
|
|
18812
19057
|
const authKey = key;
|
|
18813
|
-
if ((0,
|
|
19058
|
+
if ((0,_helpers__WEBPACK_IMPORTED_MODULE_64__.isProxy)(store.auth[authKey])) {
|
|
18814
19059
|
Object.assign(store.auth[authKey], state[authKey]);
|
|
18815
19060
|
} else {
|
|
18816
19061
|
store.auth[authKey] = state[authKey];
|
|
@@ -18818,7 +19063,7 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
18818
19063
|
});
|
|
18819
19064
|
};
|
|
18820
19065
|
const resetAuthState = (state = {}) => {
|
|
18821
|
-
(0,
|
|
19066
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_64__.deepResetState)(store, ['auth'], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, snapshotAuthState, state));
|
|
18822
19067
|
};
|
|
18823
19068
|
const setUser = user => {
|
|
18824
19069
|
setAuthState({
|
|
@@ -18836,43 +19081,43 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
18836
19081
|
})
|
|
18837
19082
|
});
|
|
18838
19083
|
};
|
|
18839
|
-
const acceptInvitationActions = (0,
|
|
18840
|
-
const accountSettingsActions = (0,
|
|
18841
|
-
const activateAccountActions = (0,
|
|
18842
|
-
const unlockAccountActions = (0,
|
|
18843
|
-
const approvalFlowActions = (0,
|
|
18844
|
-
const apiTokensActions = (0,
|
|
18845
|
-
const applicationsActions = (0,
|
|
18846
|
-
const customLoginActions = (0,
|
|
18847
|
-
const entitlementsActions = (0,
|
|
18848
|
-
const forgotPasswordActions = (0,
|
|
18849
|
-
const passwordRotationActions = (0,
|
|
18850
|
-
const groupsActions = (0,
|
|
18851
|
-
const groupsDialogsActions = (0,
|
|
18852
|
-
const impersonateActions = (0,
|
|
18853
|
-
const loginActions = (0,
|
|
18854
|
-
const mfaActions = (0,
|
|
18855
|
-
const allAccountsActions = (0,
|
|
18856
|
-
const allAccountsDialogActions = (0,
|
|
18857
|
-
const passkeysActions = (0,
|
|
18858
|
-
const profileActions = (0,
|
|
18859
|
-
const provisioningActions = (0,
|
|
18860
|
-
const resetPhoneNumberActions = (0,
|
|
18861
|
-
const rolesActions = (0,
|
|
18862
|
-
const restrictionsActions = (0,
|
|
18863
|
-
const securityCenterActions = (0,
|
|
18864
|
-
const securityPolicyActions = (0,
|
|
18865
|
-
const sessionsPolicyActions = (0,
|
|
18866
|
-
const sessionsActions = (0,
|
|
18867
|
-
const signUpActions = (0,
|
|
18868
|
-
const smsActions = (0,
|
|
18869
|
-
const socialLoginActions = (0,
|
|
18870
|
-
const ssoActions = (0,
|
|
18871
|
-
const stepUpActions = (0,
|
|
18872
|
-
const teamActions = (0,
|
|
18873
|
-
const tenantsActions = (0,
|
|
18874
|
-
const usernamesActions = (0,
|
|
18875
|
-
const usersEmailsPolicyActions = (0,
|
|
19084
|
+
const acceptInvitationActions = (0,_AcceptInvitationState__WEBPACK_IMPORTED_MODULE_65__["default"])(store, api, actions);
|
|
19085
|
+
const accountSettingsActions = (0,_AccountSettingsState__WEBPACK_IMPORTED_MODULE_66__["default"])(store, api, actions);
|
|
19086
|
+
const activateAccountActions = (0,_ActivateAccountState__WEBPACK_IMPORTED_MODULE_67__["default"])(store, api, actions);
|
|
19087
|
+
const unlockAccountActions = (0,_UnlockAccountState__WEBPACK_IMPORTED_MODULE_68__["default"])(store, api, actions);
|
|
19088
|
+
const approvalFlowActions = (0,_ApprovalFlowState__WEBPACK_IMPORTED_MODULE_69__["default"])(store, api, actions);
|
|
19089
|
+
const apiTokensActions = (0,_ApiTokensState__WEBPACK_IMPORTED_MODULE_70__["default"])(store, api, actions);
|
|
19090
|
+
const applicationsActions = (0,_ApplicationsState__WEBPACK_IMPORTED_MODULE_71__["default"])(store, api, actions);
|
|
19091
|
+
const customLoginActions = (0,_CustomLoginState__WEBPACK_IMPORTED_MODULE_72__["default"])(store, api, actions);
|
|
19092
|
+
const entitlementsActions = (0,_Entitlements__WEBPACK_IMPORTED_MODULE_73__["default"])(store, api, actions);
|
|
19093
|
+
const forgotPasswordActions = (0,_ForgotPasswordState__WEBPACK_IMPORTED_MODULE_74__["default"])(store, api, actions);
|
|
19094
|
+
const passwordRotationActions = (0,_PasswordRotationState__WEBPACK_IMPORTED_MODULE_75__["default"])(store, api, actions);
|
|
19095
|
+
const groupsActions = (0,_GroupsState__WEBPACK_IMPORTED_MODULE_76__["default"])(store, api, actions);
|
|
19096
|
+
const groupsDialogsActions = (0,_GroupsDialogsState__WEBPACK_IMPORTED_MODULE_77__["default"])(store, api, actions);
|
|
19097
|
+
const impersonateActions = (0,_ImpersonateState__WEBPACK_IMPORTED_MODULE_78__["default"])(store, api, actions);
|
|
19098
|
+
const loginActions = (0,_LoginState__WEBPACK_IMPORTED_MODULE_79__["default"])(store, api, actions);
|
|
19099
|
+
const mfaActions = (0,_MfaState__WEBPACK_IMPORTED_MODULE_80__["default"])(store, api, actions);
|
|
19100
|
+
const allAccountsActions = (0,_MSP__WEBPACK_IMPORTED_MODULE_81__["default"])(store, api, actions);
|
|
19101
|
+
const allAccountsDialogActions = (0,_MSP__WEBPACK_IMPORTED_MODULE_82__["default"])(store, api, actions);
|
|
19102
|
+
const passkeysActions = (0,_PasskeysState__WEBPACK_IMPORTED_MODULE_83__["default"])(store, api, actions);
|
|
19103
|
+
const profileActions = (0,_ProfileState__WEBPACK_IMPORTED_MODULE_84__["default"])(store, api, actions);
|
|
19104
|
+
const provisioningActions = (0,_ProvisioningState__WEBPACK_IMPORTED_MODULE_85__["default"])(store, api, actions);
|
|
19105
|
+
const resetPhoneNumberActions = (0,_ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_86__["default"])(store, api, actions);
|
|
19106
|
+
const rolesActions = (0,_RolesState__WEBPACK_IMPORTED_MODULE_87__["default"])(store, api, actions);
|
|
19107
|
+
const restrictionsActions = (0,_Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_88__["default"])(store, api, actions);
|
|
19108
|
+
const securityCenterActions = (0,_Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_89__["default"])(store, api, actions);
|
|
19109
|
+
const securityPolicyActions = (0,_Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_90__["default"])(store, api, actions);
|
|
19110
|
+
const sessionsPolicyActions = (0,_Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_91__["default"])(store, api, actions);
|
|
19111
|
+
const sessionsActions = (0,_SessionsState__WEBPACK_IMPORTED_MODULE_92__["default"])(store, api, actions);
|
|
19112
|
+
const signUpActions = (0,_SignUpState__WEBPACK_IMPORTED_MODULE_93__["default"])(store, api, actions);
|
|
19113
|
+
const smsActions = (0,_SmsState__WEBPACK_IMPORTED_MODULE_94__["default"])(store, api, actions);
|
|
19114
|
+
const socialLoginActions = (0,_SocialLoginState__WEBPACK_IMPORTED_MODULE_95__["default"])(store, api, actions);
|
|
19115
|
+
const ssoActions = (0,_SSOState__WEBPACK_IMPORTED_MODULE_96__["default"])(store, api, actions);
|
|
19116
|
+
const stepUpActions = (0,_StepUpState__WEBPACK_IMPORTED_MODULE_97__["default"])(store, api, actions);
|
|
19117
|
+
const teamActions = (0,_TeamState__WEBPACK_IMPORTED_MODULE_98__["default"])(store, api, actions);
|
|
19118
|
+
const tenantsActions = (0,_TenantsState__WEBPACK_IMPORTED_MODULE_99__["default"])(store, api, actions);
|
|
19119
|
+
const usernamesActions = (0,_UsernamesState__WEBPACK_IMPORTED_MODULE_100__["default"])(store, api, actions);
|
|
19120
|
+
const usersEmailsPolicyActions = (0,_UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_101__["default"])(store, api, actions);
|
|
18876
19121
|
const stateActions = {
|
|
18877
19122
|
acceptInvitationActions,
|
|
18878
19123
|
accountSettingsActions,
|
|
@@ -20714,6 +20959,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20714
20959
|
/* harmony export */ buildSubscriptionsActions: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_5__.buildSubscriptionsActions),
|
|
20715
20960
|
/* harmony export */ buildVendorActions: () => (/* reexport safe */ _vendor__WEBPACK_IMPORTED_MODULE_7__.buildVendorActions),
|
|
20716
20961
|
/* harmony export */ clearHostedOAuthState: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.clearHostedOAuthState),
|
|
20962
|
+
/* harmony export */ clearPreferredMfaMethod: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.clearPreferredMfaMethod),
|
|
20717
20963
|
/* harmony export */ createAuditsState: () => (/* reexport safe */ _audits__WEBPACK_IMPORTED_MODULE_8__.createAuditsState),
|
|
20718
20964
|
/* harmony export */ createAuthState: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.createAuthState),
|
|
20719
20965
|
/* harmony export */ createConnectivityState: () => (/* reexport safe */ _connectivity__WEBPACK_IMPORTED_MODULE_4__.createConnectivityState),
|
|
@@ -20729,6 +20975,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20729
20975
|
/* harmony export */ delay: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.delay),
|
|
20730
20976
|
/* harmony export */ errorHandler: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.errorHandler),
|
|
20731
20977
|
/* harmony export */ errorTraceId: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.errorTraceId),
|
|
20978
|
+
/* harmony export */ findWebAuthnDeviceTypeById: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.findWebAuthnDeviceTypeById),
|
|
20732
20979
|
/* harmony export */ generateCodeChallenge: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.generateCodeChallenge),
|
|
20733
20980
|
/* harmony export */ generateCodeChallengeNative: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.generateCodeChallengeNative),
|
|
20734
20981
|
/* harmony export */ generateCodeChallengePureJs: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.generateCodeChallengePureJs),
|
|
@@ -20740,6 +20987,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20740
20987
|
/* harmony export */ getNumberOfMfaDevices: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.getNumberOfMfaDevices),
|
|
20741
20988
|
/* harmony export */ getPathAndSearchParamsFromUrl: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.getPathAndSearchParamsFromUrl),
|
|
20742
20989
|
/* harmony export */ getPermissionEntitlements: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.getPermissionEntitlements),
|
|
20990
|
+
/* harmony export */ getPreferredMfaApplyAction: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.getPreferredMfaApplyAction),
|
|
20991
|
+
/* harmony export */ getPreferredMfaMethod: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.getPreferredMfaMethod),
|
|
20992
|
+
/* harmony export */ getPreferredMfaMethodFromWebAuthnDeviceType: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.getPreferredMfaMethodFromWebAuthnDeviceType),
|
|
20993
|
+
/* harmony export */ getPreferredMfaStorageKey: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.getPreferredMfaStorageKey),
|
|
20743
20994
|
/* harmony export */ getRedirectUrl: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.getRedirectUrl),
|
|
20744
20995
|
/* harmony export */ getSearchParam: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.getSearchParam),
|
|
20745
20996
|
/* harmony export */ getSearchParamsFromUrl: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.getSearchParamsFromUrl),
|
|
@@ -20756,6 +21007,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20756
21007
|
/* harmony export */ isHostedOAuthStateExpired: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.isHostedOAuthStateExpired),
|
|
20757
21008
|
/* harmony export */ isMfaRequired: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.isMfaRequired),
|
|
20758
21009
|
/* harmony export */ isOauthCallbackRoute: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.isOauthCallbackRoute),
|
|
21010
|
+
/* harmony export */ isPreferredMfaMethod: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.isPreferredMfaMethod),
|
|
20759
21011
|
/* harmony export */ isProxy: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.isProxy),
|
|
20760
21012
|
/* harmony export */ isResetPasswordRequired: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.isResetPasswordRequired),
|
|
20761
21013
|
/* harmony export */ isSteppedUp: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.isSteppedUp),
|
|
@@ -20770,9 +21022,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20770
21022
|
/* harmony export */ ref: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.ref),
|
|
20771
21023
|
/* harmony export */ refreshTokenWithRetry: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.refreshTokenWithRetry),
|
|
20772
21024
|
/* harmony export */ reportGTMEvent: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.reportGTMEvent),
|
|
21025
|
+
/* harmony export */ resolvePreferredMfa: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.resolvePreferredMfa),
|
|
20773
21026
|
/* harmony export */ retry: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.retry),
|
|
20774
21027
|
/* harmony export */ retryIfNeeded: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.retryIfNeeded),
|
|
20775
21028
|
/* harmony export */ setAfterAuthRedirectUrlForStepUp: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.setAfterAuthRedirectUrlForStepUp),
|
|
21029
|
+
/* harmony export */ setPreferredMfaMethod: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.setPreferredMfaMethod),
|
|
20776
21030
|
/* harmony export */ sha256: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.sha256),
|
|
20777
21031
|
/* harmony export */ shouldPromptChooseTenant: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.shouldPromptChooseTenant),
|
|
20778
21032
|
/* harmony export */ shouldRetryRefreshTokenError: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.shouldRetryRefreshTokenError),
|
|
@@ -20790,7 +21044,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20790
21044
|
/* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
|
|
20791
21045
|
/* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
|
|
20792
21046
|
/* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
|
|
20793
|
-
/** @license Frontegg v7.
|
|
21047
|
+
/** @license Frontegg v7.122.0
|
|
20794
21048
|
*
|
|
20795
21049
|
* This source code is licensed under the MIT license found in the
|
|
20796
21050
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -27501,18 +27755,27 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27501
27755
|
/* harmony export */ UserVerifiedOriginTypes: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.UserVerifiedOriginTypes),
|
|
27502
27756
|
/* harmony export */ buildAuthActions: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.buildAuthActions),
|
|
27503
27757
|
/* harmony export */ clearHostedOAuthState: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.clearHostedOAuthState),
|
|
27758
|
+
/* harmony export */ clearPreferredMfaMethod: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.clearPreferredMfaMethod),
|
|
27504
27759
|
/* harmony export */ createAuthState: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.createAuthState),
|
|
27505
27760
|
/* harmony export */ createFronteggStore: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.createFronteggStore),
|
|
27506
27761
|
/* harmony export */ createProxy: () => (/* reexport safe */ _proxy__WEBPACK_IMPORTED_MODULE_3__.createProxy),
|
|
27507
27762
|
/* harmony export */ createStore: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.createStore),
|
|
27763
|
+
/* harmony export */ findWebAuthnDeviceTypeById: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.findWebAuthnDeviceTypeById),
|
|
27508
27764
|
/* harmony export */ getEntitlements: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getEntitlements),
|
|
27509
27765
|
/* harmony export */ getFeatureEntitlements: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getFeatureEntitlements),
|
|
27510
27766
|
/* harmony export */ getPermissionEntitlements: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getPermissionEntitlements),
|
|
27767
|
+
/* harmony export */ getPreferredMfaApplyAction: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getPreferredMfaApplyAction),
|
|
27768
|
+
/* harmony export */ getPreferredMfaMethod: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getPreferredMfaMethod),
|
|
27769
|
+
/* harmony export */ getPreferredMfaMethodFromWebAuthnDeviceType: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getPreferredMfaMethodFromWebAuthnDeviceType),
|
|
27770
|
+
/* harmony export */ getPreferredMfaStorageKey: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getPreferredMfaStorageKey),
|
|
27511
27771
|
/* harmony export */ getSwitchableTenants: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getSwitchableTenants),
|
|
27512
27772
|
/* harmony export */ isEntitlementsDeeplyEqual: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.isEntitlementsDeeplyEqual),
|
|
27513
27773
|
/* harmony export */ isHostedOAuthStateExpired: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.isHostedOAuthStateExpired),
|
|
27774
|
+
/* harmony export */ isPreferredMfaMethod: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.isPreferredMfaMethod),
|
|
27514
27775
|
/* harmony export */ markHostedOAuthStateSaved: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.markHostedOAuthStateSaved),
|
|
27515
27776
|
/* harmony export */ ref: () => (/* reexport safe */ _valtio__WEBPACK_IMPORTED_MODULE_2__.ref),
|
|
27777
|
+
/* harmony export */ resolvePreferredMfa: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.resolvePreferredMfa),
|
|
27778
|
+
/* harmony export */ setPreferredMfaMethod: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.setPreferredMfaMethod),
|
|
27516
27779
|
/* harmony export */ shouldPromptChooseTenant: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.shouldPromptChooseTenant),
|
|
27517
27780
|
/* harmony export */ snapshot: () => (/* reexport safe */ _valtio__WEBPACK_IMPORTED_MODULE_2__.snapshot),
|
|
27518
27781
|
/* harmony export */ subscribe: () => (/* reexport safe */ _valtio__WEBPACK_IMPORTED_MODULE_2__.subscribe)
|
|
@@ -27612,16 +27875,25 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27612
27875
|
/* harmony export */ UserVerifiedOriginTypes: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.UserVerifiedOriginTypes),
|
|
27613
27876
|
/* harmony export */ buildAuthActions: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.buildAuthActions),
|
|
27614
27877
|
/* harmony export */ clearHostedOAuthState: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.clearHostedOAuthState),
|
|
27878
|
+
/* harmony export */ clearPreferredMfaMethod: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.clearPreferredMfaMethod),
|
|
27615
27879
|
/* harmony export */ createAuthState: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.createAuthState),
|
|
27616
27880
|
/* harmony export */ createFronteggStore: () => (/* binding */ createFronteggStore),
|
|
27617
27881
|
/* harmony export */ createStore: () => (/* binding */ createStore),
|
|
27882
|
+
/* harmony export */ findWebAuthnDeviceTypeById: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.findWebAuthnDeviceTypeById),
|
|
27618
27883
|
/* harmony export */ getEntitlements: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getEntitlements),
|
|
27619
27884
|
/* harmony export */ getFeatureEntitlements: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getFeatureEntitlements),
|
|
27620
27885
|
/* harmony export */ getPermissionEntitlements: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getPermissionEntitlements),
|
|
27886
|
+
/* harmony export */ getPreferredMfaApplyAction: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getPreferredMfaApplyAction),
|
|
27887
|
+
/* harmony export */ getPreferredMfaMethod: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getPreferredMfaMethod),
|
|
27888
|
+
/* harmony export */ getPreferredMfaMethodFromWebAuthnDeviceType: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getPreferredMfaMethodFromWebAuthnDeviceType),
|
|
27889
|
+
/* harmony export */ getPreferredMfaStorageKey: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getPreferredMfaStorageKey),
|
|
27621
27890
|
/* harmony export */ getSwitchableTenants: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getSwitchableTenants),
|
|
27622
27891
|
/* harmony export */ isEntitlementsDeeplyEqual: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.isEntitlementsDeeplyEqual),
|
|
27623
27892
|
/* harmony export */ isHostedOAuthStateExpired: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.isHostedOAuthStateExpired),
|
|
27893
|
+
/* harmony export */ isPreferredMfaMethod: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.isPreferredMfaMethod),
|
|
27624
27894
|
/* harmony export */ markHostedOAuthStateSaved: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.markHostedOAuthStateSaved),
|
|
27895
|
+
/* harmony export */ resolvePreferredMfa: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.resolvePreferredMfa),
|
|
27896
|
+
/* harmony export */ setPreferredMfaMethod: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.setPreferredMfaMethod),
|
|
27625
27897
|
/* harmony export */ shouldPromptChooseTenant: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.shouldPromptChooseTenant)
|
|
27626
27898
|
/* harmony export */ });
|
|
27627
27899
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../../node_modules/@babel/runtime/helpers/esm/extends.js");
|
|
@@ -30191,14 +30463,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30191
30463
|
/* harmony export */ LOAD_AUTHORIZATION_FF: () => (/* binding */ LOAD_AUTHORIZATION_FF),
|
|
30192
30464
|
/* harmony export */ MFAStrategyEnum: () => (/* binding */ MFAStrategyEnum),
|
|
30193
30465
|
/* harmony export */ PreLoginAddressType: () => (/* binding */ PreLoginAddressType),
|
|
30194
|
-
/* harmony export */ RestrictionType: () => (/* reexport safe */
|
|
30466
|
+
/* harmony export */ RestrictionType: () => (/* reexport safe */ _secutiry_poilicy_interfaces__WEBPACK_IMPORTED_MODULE_0__.RestrictionType),
|
|
30195
30467
|
/* harmony export */ SecondaryAuthStrategy: () => (/* binding */ SecondaryAuthStrategy),
|
|
30196
30468
|
/* harmony export */ WebAuthnDeviceType: () => (/* binding */ WebAuthnDeviceType)
|
|
30197
30469
|
/* harmony export */ });
|
|
30198
|
-
/* harmony import */ var
|
|
30199
|
-
/* harmony import */ var _secutiry_poilicy_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./secutiry-poilicy/interfaces */ "../../dist/@frontegg/rest-api/auth/secutiry-poilicy/interfaces.js");
|
|
30200
|
-
_enums__WEBPACK_IMPORTED_MODULE_0__.EIdentifierType;
|
|
30201
|
-
|
|
30470
|
+
/* harmony import */ var _secutiry_poilicy_interfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./secutiry-poilicy/interfaces */ "../../dist/@frontegg/rest-api/auth/secutiry-poilicy/interfaces.js");
|
|
30202
30471
|
|
|
30203
30472
|
const PreLoginAddressType = {
|
|
30204
30473
|
Sso: 'sso',
|
|
@@ -31457,7 +31726,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31457
31726
|
/* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
|
|
31458
31727
|
/* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
|
|
31459
31728
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./constants */ "../../dist/@frontegg/rest-api/constants.js");
|
|
31460
|
-
/** @license Frontegg v7.
|
|
31729
|
+
/** @license Frontegg v7.122.0
|
|
31461
31730
|
*
|
|
31462
31731
|
* This source code is licensed under the MIT license found in the
|
|
31463
31732
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -34254,7 +34523,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
34254
34523
|
/* harmony export */ });
|
|
34255
34524
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
34256
34525
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
34257
|
-
/** @license Frontegg v7.
|
|
34526
|
+
/** @license Frontegg v7.122.0
|
|
34258
34527
|
*
|
|
34259
34528
|
* This source code is licensed under the MIT license found in the
|
|
34260
34529
|
* LICENSE file in the root directory of this source tree.
|