@frontegg/redux-store 6.119.0 → 6.121.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/auth/AcceptInvitationState/index.d.ts +2 -0
- package/auth/AccountSettingsState/index.d.ts +2 -0
- package/auth/ActivateState/index.d.ts +3 -0
- package/auth/ApiTokensState/index.d.ts +2 -0
- package/auth/CustomLoginState/index.d.ts +2 -0
- package/auth/CustomLoginState/saga.js +4 -4
- package/auth/EntitlementsState/index.d.ts +1 -0
- package/auth/ForgotPasswordState/index.d.ts +2 -0
- package/auth/GroupsState/groupsDialogsState.d.ts +12 -0
- package/auth/GroupsState/index.d.ts +2 -0
- package/auth/ImpersonationState/index.d.ts +2 -0
- package/auth/LoginState/index.d.ts +2 -0
- package/auth/LoginState/saga.js +1 -2
- package/auth/MSP/AllAccountsState/allAccountsDialogsState.d.ts +14 -0
- package/auth/MSP/AllAccountsState/index.d.ts +3 -0
- package/auth/MfaState/index.d.ts +2 -0
- package/auth/PasskeysState/index.d.ts +2 -0
- package/auth/ProfileState/index.d.ts +3 -1
- package/auth/ProfileState/saga.js +2 -1
- package/auth/Provisioning/index.d.ts +2 -0
- package/auth/ResetPhoneNumberState/index.d.ts +2 -0
- package/auth/RestrictionsState/index.d.ts +6 -12
- package/auth/RolesState/index.d.ts +2 -0
- package/auth/SSOState/index.d.ts +2 -0
- package/auth/SecurityCenterState/index.d.ts +141 -0
- package/auth/SecurityCenterState/index.js +35 -0
- package/auth/SecurityCenterState/interfaces.d.ts +10 -0
- package/auth/SecurityCenterState/interfaces.js +1 -0
- package/auth/SecurityCenterState/saga.d.ts +16 -0
- package/auth/SecurityCenterState/saga.js +61 -0
- package/auth/SecurityCenterState/types.d.ts +8 -0
- package/auth/SecurityCenterState/types.js +5 -0
- package/auth/SecurityPolicyState/index.d.ts +13 -0
- package/auth/SessionsPolicyState/index.d.ts +2 -0
- package/auth/SessionsState/index.d.ts +2 -0
- package/auth/SignUp/index.d.ts +2 -0
- package/auth/SocialLogins/index.d.ts +2 -0
- package/auth/TeamState/index.d.ts +2 -0
- package/auth/TenantsState/index.d.ts +2 -0
- package/auth/dummy.d.ts +2 -2
- package/auth/dummy.js +6 -5
- package/auth/index.d.ts +9 -1
- package/auth/index.js +2 -0
- package/auth/interfaces.d.ts +2 -0
- package/auth/interfaces.js +0 -2
- package/auth/reducer.d.ts +9 -2
- package/auth/reducer.js +3 -2
- package/auth/utils.d.ts +6 -0
- package/index.js +1 -1
- package/interfaces.d.ts +3 -0
- package/node/auth/CustomLoginState/saga.js +4 -4
- package/node/auth/LoginState/saga.js +1 -2
- package/node/auth/ProfileState/saga.js +2 -1
- package/node/auth/SecurityCenterState/index.js +42 -0
- package/node/auth/SecurityCenterState/interfaces.js +5 -0
- package/node/auth/SecurityCenterState/saga.js +69 -0
- package/node/auth/SecurityCenterState/types.js +12 -0
- package/node/auth/dummy.js +6 -5
- package/node/auth/index.js +28 -4
- package/node/auth/interfaces.js +0 -1
- package/node/auth/reducer.js +3 -2
- package/node/index.js +1 -1
- package/node/toolkit/index.js +13 -14
- package/package.json +2 -2
- package/toolkit/index.d.ts +2 -2
- package/toolkit/index.js +2 -2
- /package/node/toolkit/{redux-saga.js → redux-saga-tools.js} +0 -0
- /package/toolkit/{redux-saga.d.ts → redux-saga-tools.d.ts} +0 -0
- /package/toolkit/{redux-saga.js → redux-saga-tools.js} +0 -0
package/auth/SSOState/index.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ declare const reducers: {
|
|
|
69
69
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
70
70
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
71
71
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
72
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
72
73
|
routes: import("..").AuthPageRoutes;
|
|
73
74
|
header?: any;
|
|
74
75
|
loaderComponent?: any;
|
|
@@ -115,6 +116,7 @@ declare const reducers: {
|
|
|
115
116
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
116
117
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
117
118
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
119
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
118
120
|
routes: import("..").AuthPageRoutes;
|
|
119
121
|
header?: any;
|
|
120
122
|
loaderComponent?: any;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { SecurityCenterState } from './interfaces';
|
|
2
|
+
import { SecurityCenterStateIndicator } from './types';
|
|
3
|
+
declare const securityCenterState: SecurityCenterState;
|
|
4
|
+
declare const reducers: {
|
|
5
|
+
setSecurityCenterState: {
|
|
6
|
+
prepare: (payload: Partial<SecurityCenterState>) => {
|
|
7
|
+
payload: Partial<SecurityCenterState>;
|
|
8
|
+
};
|
|
9
|
+
reducer: (state: import("..").AuthState, { payload }: {
|
|
10
|
+
payload: Partial<SecurityCenterState>;
|
|
11
|
+
type: string;
|
|
12
|
+
}) => {
|
|
13
|
+
onRedirectTo: (path: string, opts?: import("@frontegg/rest-api").RedirectOptions | undefined) => void;
|
|
14
|
+
error?: any;
|
|
15
|
+
isAuthenticated: boolean;
|
|
16
|
+
userIp?: string | undefined;
|
|
17
|
+
isLoading: boolean;
|
|
18
|
+
keepSessionAlive?: boolean | undefined;
|
|
19
|
+
user?: import("..").User | null | undefined;
|
|
20
|
+
isSSOAuth: boolean;
|
|
21
|
+
ssoACS?: string | undefined;
|
|
22
|
+
includeQueryParam?: boolean | undefined;
|
|
23
|
+
loginState: import("..").LoginState;
|
|
24
|
+
activateState: import("..").ActivateAccountState;
|
|
25
|
+
acceptInvitationState: import("..").AcceptInvitationState;
|
|
26
|
+
forgotPasswordState: import("..").ForgotPasswordState;
|
|
27
|
+
resetPhoneNumberState: import("..").ResetPhoneNumberState;
|
|
28
|
+
ssoState: import("..").SSOState;
|
|
29
|
+
profileState: import("..").ProfileState;
|
|
30
|
+
mfaState: import("..").MFAState;
|
|
31
|
+
teamState: import("..").TeamState;
|
|
32
|
+
groupsState: import("..").GroupsState;
|
|
33
|
+
groupsDialogsState: import("..").GroupsDialogsState;
|
|
34
|
+
socialLoginState: import("..").SocialLoginState;
|
|
35
|
+
signUpState: import("..").SignUpState;
|
|
36
|
+
apiTokensState: import("..").ApiTokensState;
|
|
37
|
+
securityPolicyState: import("..").SecurityPolicyState;
|
|
38
|
+
restrictionsState: import("..").RestrictionsState;
|
|
39
|
+
provisioningState: import("..").ProvisioningState;
|
|
40
|
+
accountSettingsState: import("..").AccountSettingsState;
|
|
41
|
+
tenantsState: import("..").TenantsState;
|
|
42
|
+
rolesState: import("..").RolesState;
|
|
43
|
+
sessionsState: import("..").SessionsState;
|
|
44
|
+
hostedLoginBox?: boolean | undefined;
|
|
45
|
+
disableSilentRefresh?: boolean | undefined;
|
|
46
|
+
sessionsPolicyState: import("..").SessionsPolicyState;
|
|
47
|
+
impersonateState?: import("..").ImpersonateState | undefined;
|
|
48
|
+
passkeysState?: import("..").PasskeysState | undefined;
|
|
49
|
+
customLoginState?: import("..").CustomLoginState | undefined;
|
|
50
|
+
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
51
|
+
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
52
|
+
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
53
|
+
securityCenterState?: SecurityCenterState | undefined;
|
|
54
|
+
routes: import("..").AuthPageRoutes;
|
|
55
|
+
header?: any;
|
|
56
|
+
loaderComponent?: any;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
resetSecurityCenterState: (state: import("..").AuthState) => {
|
|
60
|
+
onRedirectTo: (path: string, opts?: import("@frontegg/rest-api").RedirectOptions | undefined) => void;
|
|
61
|
+
error?: any;
|
|
62
|
+
isAuthenticated: boolean;
|
|
63
|
+
userIp?: string | undefined;
|
|
64
|
+
isLoading: boolean;
|
|
65
|
+
keepSessionAlive?: boolean | undefined;
|
|
66
|
+
user?: import("..").User | null | undefined;
|
|
67
|
+
isSSOAuth: boolean;
|
|
68
|
+
ssoACS?: string | undefined;
|
|
69
|
+
includeQueryParam?: boolean | undefined;
|
|
70
|
+
loginState: import("..").LoginState;
|
|
71
|
+
activateState: import("..").ActivateAccountState;
|
|
72
|
+
acceptInvitationState: import("..").AcceptInvitationState;
|
|
73
|
+
forgotPasswordState: import("..").ForgotPasswordState;
|
|
74
|
+
resetPhoneNumberState: import("..").ResetPhoneNumberState;
|
|
75
|
+
ssoState: import("..").SSOState;
|
|
76
|
+
profileState: import("..").ProfileState;
|
|
77
|
+
mfaState: import("..").MFAState;
|
|
78
|
+
teamState: import("..").TeamState;
|
|
79
|
+
groupsState: import("..").GroupsState;
|
|
80
|
+
groupsDialogsState: import("..").GroupsDialogsState;
|
|
81
|
+
socialLoginState: import("..").SocialLoginState;
|
|
82
|
+
signUpState: import("..").SignUpState;
|
|
83
|
+
apiTokensState: import("..").ApiTokensState;
|
|
84
|
+
securityPolicyState: import("..").SecurityPolicyState;
|
|
85
|
+
restrictionsState: import("..").RestrictionsState;
|
|
86
|
+
provisioningState: import("..").ProvisioningState;
|
|
87
|
+
accountSettingsState: import("..").AccountSettingsState;
|
|
88
|
+
tenantsState: import("..").TenantsState;
|
|
89
|
+
rolesState: import("..").RolesState;
|
|
90
|
+
sessionsState: import("..").SessionsState;
|
|
91
|
+
hostedLoginBox?: boolean | undefined;
|
|
92
|
+
disableSilentRefresh?: boolean | undefined;
|
|
93
|
+
sessionsPolicyState: import("..").SessionsPolicyState;
|
|
94
|
+
impersonateState?: import("..").ImpersonateState | undefined;
|
|
95
|
+
passkeysState?: import("..").PasskeysState | undefined;
|
|
96
|
+
customLoginState?: import("..").CustomLoginState | undefined;
|
|
97
|
+
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
98
|
+
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
99
|
+
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
100
|
+
securityCenterState?: SecurityCenterState | undefined;
|
|
101
|
+
routes: import("..").AuthPageRoutes;
|
|
102
|
+
header?: any;
|
|
103
|
+
loaderComponent?: any;
|
|
104
|
+
};
|
|
105
|
+
setSecurityCenterStateLoader: {
|
|
106
|
+
prepare: (payload: SecurityCenterStateIndicator) => {
|
|
107
|
+
payload: SecurityCenterStateIndicator;
|
|
108
|
+
};
|
|
109
|
+
reducer: (state: import("..").AuthState, { payload }: {
|
|
110
|
+
payload: SecurityCenterStateIndicator;
|
|
111
|
+
type: string;
|
|
112
|
+
}) => import("..").AuthState;
|
|
113
|
+
};
|
|
114
|
+
setSecurityCenterStateError: {
|
|
115
|
+
prepare: (payload: SecurityCenterStateIndicator) => {
|
|
116
|
+
payload: SecurityCenterStateIndicator;
|
|
117
|
+
};
|
|
118
|
+
reducer: (state: import("..").AuthState, { payload }: {
|
|
119
|
+
payload: SecurityCenterStateIndicator;
|
|
120
|
+
type: string;
|
|
121
|
+
}) => import("..").AuthState;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
declare const actions: {
|
|
125
|
+
getRecommendations: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
126
|
+
getInsights: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* To be used for actions types after dispatch, and should contains
|
|
130
|
+
* the reducers and actions as standalone function
|
|
131
|
+
*/
|
|
132
|
+
declare type DispatchedActions = {
|
|
133
|
+
setSecurityCenterState: (state: Partial<SecurityCenterState>) => void;
|
|
134
|
+
resetSecurityCenterState: () => void;
|
|
135
|
+
getRecommendations: () => void;
|
|
136
|
+
getInsights: () => void;
|
|
137
|
+
setSecurityCenterStateLoader: (payload: SecurityCenterStateIndicator) => void;
|
|
138
|
+
setSecurityCenterStateError: (payload: SecurityCenterStateIndicator) => void;
|
|
139
|
+
};
|
|
140
|
+
export declare type SecurityCenterActions = DispatchedActions;
|
|
141
|
+
export { securityCenterState, reducers as securityCenterReducers, actions as securityCenterActions };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { authStoreName } from '../../constants';
|
|
3
|
+
import { errorsReducerForKey, loadersReducerForKey, resetStateByKey, typeReducerForKey } from '../utils';
|
|
4
|
+
const securityCenterState = {
|
|
5
|
+
loaders: {},
|
|
6
|
+
errors: {},
|
|
7
|
+
recommendations: [],
|
|
8
|
+
insights: [],
|
|
9
|
+
score: 0
|
|
10
|
+
};
|
|
11
|
+
const reducers = {
|
|
12
|
+
setSecurityCenterState: typeReducerForKey('securityCenterState'),
|
|
13
|
+
resetSecurityCenterState: resetStateByKey('securityCenterState', {
|
|
14
|
+
securityCenterState
|
|
15
|
+
}),
|
|
16
|
+
setSecurityCenterStateLoader: loadersReducerForKey('securityCenterState'),
|
|
17
|
+
setSecurityCenterStateError: errorsReducerForKey('securityCenterState')
|
|
18
|
+
};
|
|
19
|
+
const actions = {
|
|
20
|
+
getRecommendations: createAction(`${authStoreName}/getRecommendations`),
|
|
21
|
+
getInsights: createAction(`${authStoreName}/getInsights`)
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* To be used for actions types after dispatch, and should contains
|
|
26
|
+
* the reducers and actions as standalone function
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
// noinspection JSUnusedLocalSymbols
|
|
30
|
+
/**
|
|
31
|
+
* if you see error in matcher that's mean the DispatchAction does not
|
|
32
|
+
* contains the same functions in reducers and actions
|
|
33
|
+
*/
|
|
34
|
+
const Matcher = {};
|
|
35
|
+
export { securityCenterState, reducers as securityCenterReducers, actions as securityCenterActions };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Insight, Recommendation } from '@frontegg/rest-api';
|
|
2
|
+
import { ErrorsIndicatorState, LoaderIndicatorState } from '../../interfaces';
|
|
3
|
+
import { SecurityCenterStateKeys } from './types';
|
|
4
|
+
export interface SecurityCenterState {
|
|
5
|
+
loaders: LoaderIndicatorState<SecurityCenterStateKeys>;
|
|
6
|
+
errors: ErrorsIndicatorState<SecurityCenterStateKeys>;
|
|
7
|
+
recommendations: Recommendation[];
|
|
8
|
+
insights: Insight[];
|
|
9
|
+
score: number;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GetRecommendationsResponse, GetInsightsResponse } from '@frontegg/rest-api';
|
|
2
|
+
export declare function getRecommendations(): Generator<import("redux-saga/effects").PutEffect<{
|
|
3
|
+
payload: import("./types").SecurityCenterStateIndicator;
|
|
4
|
+
type: string;
|
|
5
|
+
}> | import("redux-saga/effects").CallEffect<GetRecommendationsResponse> | import("redux-saga/effects").PutEffect<{
|
|
6
|
+
payload: Partial<import("./interfaces").SecurityCenterState>;
|
|
7
|
+
type: string;
|
|
8
|
+
}>, void, GetRecommendationsResponse>;
|
|
9
|
+
export declare function getInsights(): Generator<import("redux-saga/effects").PutEffect<{
|
|
10
|
+
payload: import("./types").SecurityCenterStateIndicator;
|
|
11
|
+
type: string;
|
|
12
|
+
}> | import("redux-saga/effects").PutEffect<{
|
|
13
|
+
payload: Partial<import("./interfaces").SecurityCenterState>;
|
|
14
|
+
type: string;
|
|
15
|
+
}> | import("redux-saga/effects").CallEffect<GetInsightsResponse>, void, GetInsightsResponse>;
|
|
16
|
+
export declare function securityCenterSagas(): Generator<import("redux-saga/effects").ForkEffect<never>, void, unknown>;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { call, put, takeEvery } from 'redux-saga/effects';
|
|
2
|
+
import { actions } from '../reducer';
|
|
3
|
+
import { errorHandler } from '../../utils';
|
|
4
|
+
import { api } from '@frontegg/rest-api';
|
|
5
|
+
import { SecurityCenterStateKeys } from './types';
|
|
6
|
+
export function* getRecommendations() {
|
|
7
|
+
const key = SecurityCenterStateKeys.RECOMMENDATIONS;
|
|
8
|
+
yield put(actions.setSecurityCenterStateLoader({
|
|
9
|
+
key,
|
|
10
|
+
value: true
|
|
11
|
+
}));
|
|
12
|
+
try {
|
|
13
|
+
const {
|
|
14
|
+
recommendations,
|
|
15
|
+
scoring
|
|
16
|
+
} = yield call(api.securityCenter.getRecommendations);
|
|
17
|
+
yield put(actions.setSecurityCenterState({
|
|
18
|
+
recommendations: recommendations.items,
|
|
19
|
+
score: scoring.score
|
|
20
|
+
}));
|
|
21
|
+
} catch (e) {
|
|
22
|
+
yield put(actions.setSecurityCenterStateError({
|
|
23
|
+
key,
|
|
24
|
+
value: errorHandler(e)
|
|
25
|
+
}));
|
|
26
|
+
} finally {
|
|
27
|
+
yield put(actions.setSecurityCenterStateLoader({
|
|
28
|
+
key,
|
|
29
|
+
value: false
|
|
30
|
+
}));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export function* getInsights() {
|
|
34
|
+
const key = SecurityCenterStateKeys.INSIGHTS;
|
|
35
|
+
yield put(actions.setSecurityCenterStateLoader({
|
|
36
|
+
key,
|
|
37
|
+
value: true
|
|
38
|
+
}));
|
|
39
|
+
try {
|
|
40
|
+
const {
|
|
41
|
+
insights
|
|
42
|
+
} = yield call(api.securityCenter.getInsights);
|
|
43
|
+
yield put(actions.setSecurityCenterState({
|
|
44
|
+
insights: insights.items
|
|
45
|
+
}));
|
|
46
|
+
} catch (e) {
|
|
47
|
+
yield put(actions.setSecurityCenterStateError({
|
|
48
|
+
key,
|
|
49
|
+
value: errorHandler(e)
|
|
50
|
+
}));
|
|
51
|
+
} finally {
|
|
52
|
+
yield put(actions.setSecurityCenterStateLoader({
|
|
53
|
+
key,
|
|
54
|
+
value: false
|
|
55
|
+
}));
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export function* securityCenterSagas() {
|
|
59
|
+
yield takeEvery(actions.getRecommendations, getRecommendations);
|
|
60
|
+
yield takeEvery(actions.getInsights, getInsights);
|
|
61
|
+
}
|
|
@@ -49,6 +49,7 @@ declare const reducers: {
|
|
|
49
49
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
50
50
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
51
51
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
52
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
52
53
|
routes: import("..").AuthPageRoutes;
|
|
53
54
|
header?: any;
|
|
54
55
|
loaderComponent?: any;
|
|
@@ -108,6 +109,7 @@ declare const reducers: {
|
|
|
108
109
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
109
110
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
110
111
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
112
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
111
113
|
routes: import("..").AuthPageRoutes;
|
|
112
114
|
header?: any;
|
|
113
115
|
loaderComponent?: any;
|
|
@@ -167,6 +169,7 @@ declare const reducers: {
|
|
|
167
169
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
168
170
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
169
171
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
172
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
170
173
|
routes: import("..").AuthPageRoutes;
|
|
171
174
|
header?: any;
|
|
172
175
|
loaderComponent?: any;
|
|
@@ -226,6 +229,7 @@ declare const reducers: {
|
|
|
226
229
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
227
230
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
228
231
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
232
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
229
233
|
routes: import("..").AuthPageRoutes;
|
|
230
234
|
header?: any;
|
|
231
235
|
loaderComponent?: any;
|
|
@@ -285,6 +289,7 @@ declare const reducers: {
|
|
|
285
289
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
286
290
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
287
291
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
292
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
288
293
|
routes: import("..").AuthPageRoutes;
|
|
289
294
|
header?: any;
|
|
290
295
|
loaderComponent?: any;
|
|
@@ -344,6 +349,7 @@ declare const reducers: {
|
|
|
344
349
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
345
350
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
346
351
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
352
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
347
353
|
routes: import("..").AuthPageRoutes;
|
|
348
354
|
header?: any;
|
|
349
355
|
loaderComponent?: any;
|
|
@@ -403,6 +409,7 @@ declare const reducers: {
|
|
|
403
409
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
404
410
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
405
411
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
412
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
406
413
|
routes: import("..").AuthPageRoutes;
|
|
407
414
|
header?: any;
|
|
408
415
|
loaderComponent?: any;
|
|
@@ -462,6 +469,7 @@ declare const reducers: {
|
|
|
462
469
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
463
470
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
464
471
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
472
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
465
473
|
routes: import("..").AuthPageRoutes;
|
|
466
474
|
header?: any;
|
|
467
475
|
loaderComponent?: any;
|
|
@@ -521,6 +529,7 @@ declare const reducers: {
|
|
|
521
529
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
522
530
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
523
531
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
532
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
524
533
|
routes: import("..").AuthPageRoutes;
|
|
525
534
|
header?: any;
|
|
526
535
|
loaderComponent?: any;
|
|
@@ -580,6 +589,7 @@ declare const reducers: {
|
|
|
580
589
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
581
590
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
582
591
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
592
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
583
593
|
routes: import("..").AuthPageRoutes;
|
|
584
594
|
header?: any;
|
|
585
595
|
loaderComponent?: any;
|
|
@@ -639,6 +649,7 @@ declare const reducers: {
|
|
|
639
649
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
640
650
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
641
651
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
652
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
642
653
|
routes: import("..").AuthPageRoutes;
|
|
643
654
|
header?: any;
|
|
644
655
|
loaderComponent?: any;
|
|
@@ -698,6 +709,7 @@ declare const reducers: {
|
|
|
698
709
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
699
710
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
700
711
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
712
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
701
713
|
routes: import("..").AuthPageRoutes;
|
|
702
714
|
header?: any;
|
|
703
715
|
loaderComponent?: any;
|
|
@@ -744,6 +756,7 @@ declare const reducers: {
|
|
|
744
756
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
745
757
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
746
758
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
759
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
747
760
|
routes: import("..").AuthPageRoutes;
|
|
748
761
|
header?: any;
|
|
749
762
|
loaderComponent?: any;
|
|
@@ -51,6 +51,7 @@ declare const reducers: {
|
|
|
51
51
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
52
52
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
53
53
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
54
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
54
55
|
routes: import("..").AuthPageRoutes;
|
|
55
56
|
header?: any;
|
|
56
57
|
loaderComponent?: any;
|
|
@@ -97,6 +98,7 @@ declare const reducers: {
|
|
|
97
98
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
98
99
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
99
100
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
101
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
100
102
|
routes: import("..").AuthPageRoutes;
|
|
101
103
|
header?: any;
|
|
102
104
|
loaderComponent?: any;
|
|
@@ -50,6 +50,7 @@ declare const reducers: {
|
|
|
50
50
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
51
51
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
52
52
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
53
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
53
54
|
routes: import("..").AuthPageRoutes;
|
|
54
55
|
header?: any;
|
|
55
56
|
loaderComponent?: any;
|
|
@@ -96,6 +97,7 @@ declare const reducers: {
|
|
|
96
97
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
97
98
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
98
99
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
100
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
99
101
|
routes: import("..").AuthPageRoutes;
|
|
100
102
|
header?: any;
|
|
101
103
|
loaderComponent?: any;
|
package/auth/SignUp/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ declare const reducers: {
|
|
|
49
49
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
50
50
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
51
51
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
52
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
52
53
|
routes: import("..").AuthPageRoutes;
|
|
53
54
|
header?: any;
|
|
54
55
|
loaderComponent?: any;
|
|
@@ -95,6 +96,7 @@ declare const reducers: {
|
|
|
95
96
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
96
97
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
97
98
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
99
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
98
100
|
routes: import("..").AuthPageRoutes;
|
|
99
101
|
header?: any;
|
|
100
102
|
loaderComponent?: any;
|
|
@@ -50,6 +50,7 @@ declare const reducers: {
|
|
|
50
50
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
51
51
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
52
52
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
53
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
53
54
|
routes: import("..").AuthPageRoutes;
|
|
54
55
|
header?: any;
|
|
55
56
|
loaderComponent?: any;
|
|
@@ -96,6 +97,7 @@ declare const reducers: {
|
|
|
96
97
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
97
98
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
98
99
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
100
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
99
101
|
routes: import("..").AuthPageRoutes;
|
|
100
102
|
header?: any;
|
|
101
103
|
loaderComponent?: any;
|
|
@@ -69,6 +69,7 @@ declare const reducers: {
|
|
|
69
69
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
70
70
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
71
71
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
72
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
72
73
|
routes: import("..").AuthPageRoutes;
|
|
73
74
|
header?: any;
|
|
74
75
|
loaderComponent?: any;
|
|
@@ -115,6 +116,7 @@ declare const reducers: {
|
|
|
115
116
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
116
117
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
117
118
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
119
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
118
120
|
routes: import("..").AuthPageRoutes;
|
|
119
121
|
header?: any;
|
|
120
122
|
loaderComponent?: any;
|
|
@@ -51,6 +51,7 @@ declare const reducers: {
|
|
|
51
51
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
52
52
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
53
53
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
54
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
54
55
|
routes: import("..").AuthPageRoutes;
|
|
55
56
|
header?: any;
|
|
56
57
|
loaderComponent?: any;
|
|
@@ -97,6 +98,7 @@ declare const reducers: {
|
|
|
97
98
|
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
98
99
|
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
99
100
|
entitlementsState?: import("..").EntitlementsState | undefined;
|
|
101
|
+
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
100
102
|
routes: import("..").AuthPageRoutes;
|
|
101
103
|
header?: any;
|
|
102
104
|
loaderComponent?: any;
|
package/auth/dummy.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRole,
|
|
1
|
+
import { IRole, ISamlConfiguration, ISamlMetadata, ISecurityPolicy, ISecurityPolicyLockout, ISecurityPolicyMfa, ISecurityPolicyPasswordHistory, ITeamUser, ITeamUserPermission, ITeamUserRole, ITenantsResponse, IVendorConfig, ISubTenantUser, ISessionConfigurations, IpRestriction, IPRestrictionsConfig, ISessionResponse, IUserProfile } from '@frontegg/rest-api';
|
|
2
2
|
import { IApiTokensData, ITenantApiTokensData } from './ApiTokensState/interfaces';
|
|
3
3
|
import { IGroup } from '../auth/GroupsState/interfaces';
|
|
4
4
|
import { User } from './interfaces';
|
|
@@ -9,7 +9,7 @@ export declare const apiTokensDataDemo: IApiTokensData;
|
|
|
9
9
|
export declare const apiTokensDataTenantDemo: ITenantApiTokensData;
|
|
10
10
|
export declare const rolesAdminViewerDemo: IRole[];
|
|
11
11
|
export declare const roleDemo: IRole[];
|
|
12
|
-
export declare const rolePermissionDemo:
|
|
12
|
+
export declare const rolePermissionDemo: ITeamUserPermission[];
|
|
13
13
|
export declare const userProfileDemo: IUserProfile;
|
|
14
14
|
export declare const userDemo: User;
|
|
15
15
|
export declare const profileStateDemo: ProfileState;
|
package/auth/dummy.js
CHANGED
|
@@ -51,18 +51,20 @@ export const rolePermissionDemo = [{
|
|
|
51
51
|
id: 'adminPermissionId',
|
|
52
52
|
key: 'fe.*',
|
|
53
53
|
name: 'General Admin',
|
|
54
|
-
description:
|
|
54
|
+
description: 'description',
|
|
55
55
|
categoryId: 'category',
|
|
56
56
|
fePermission: true,
|
|
57
57
|
createdAt: new Date(),
|
|
58
|
-
updatedAt: new Date()
|
|
58
|
+
updatedAt: new Date(),
|
|
59
|
+
roleIds: []
|
|
59
60
|
}];
|
|
60
61
|
export const userProfileDemo = {
|
|
62
|
+
sub: '',
|
|
63
|
+
tenants: [],
|
|
61
64
|
id: 'testId',
|
|
62
65
|
name: 'Demo User Name',
|
|
63
66
|
email: 'demo-user@frontegg.com',
|
|
64
67
|
mfaEnrolled: true,
|
|
65
|
-
profileImage: undefined,
|
|
66
68
|
profilePictureUrl: 'https://www.gravatar.com/avatar/42b2ad2bad6fc9b9db5086dfcf8072ac?d=https://ui-avatars.com/api/fe/128/random?t=1617261890875?t=1617261917434',
|
|
67
69
|
roles: roleDemo,
|
|
68
70
|
permissions: rolePermissionDemo,
|
|
@@ -77,8 +79,7 @@ export const userProfileDemo = {
|
|
|
77
79
|
country: 'Israel'
|
|
78
80
|
}
|
|
79
81
|
}),
|
|
80
|
-
|
|
81
|
-
verified: undefined
|
|
82
|
+
verified: false
|
|
82
83
|
};
|
|
83
84
|
export const userDemo = _extends({}, userProfileDemo, {
|
|
84
85
|
accessToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1MTY5YmY0Zi02YmI5LTQ5NGMtOGNkZS05MDc4NDQ0NWY4MDciLCJuYW1lIjoiRHVtbXkgVXNlciIsImVtYWlsIjoiZHVtbXlAZnJvbnRlZ2cuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsIm1ldGFkYXRhIjp7fSwicm9sZXMiOlsiYWRtaW4iXSwicGVybWlzc2lvbnMiOlsiZmUuKiJdLCJ0ZW5hbnRJZCI6Im15LXRlbmFudC1pZCIsInRlbmFudElkcyI6WyJteS10ZW5hbnQtaWQiXSwicHJvZmlsZVBpY3R1cmVVcmwiOiJodHRwczovL3d3dy5ncmF2YXRhci5jb20vYXZhdGFyLzQyYjJhZDJiYWQ2ZmM5YjlkYjUwODZkZmNmODA3MmFjP2Q9aHR0cHM6Ly91aS1hdmF0YXJzLmNvbS9hcGkvZmUvMTI4L3JhbmRvbT90PTE2MTcyNjE4OTA4NzU_dD0xNjE3MjYxOTE3NDM0IiwidHlwZSI6InVzZXJUb2tlbiIsImlhdCI6MTYxNzkwNjMyNCwiZXhwIjoxNjE3OTkyNzI0LCJpc3MiOiJmcm9udGVnZyJ9.paaXLkpWEWbQmUtoK2P8IwXCxK4WJp7XhXonvzF8g1I',
|
package/auth/index.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export * from './EntitlementsState';
|
|
|
52
52
|
export * from './EntitlementsState/interfaces';
|
|
53
53
|
export * from './PasskeysState';
|
|
54
54
|
export * from './PasskeysState/interfaces';
|
|
55
|
+
export * from './SecurityCenterState';
|
|
56
|
+
export * from './SecurityCenterState/interfaces';
|
|
55
57
|
export * from './CustomLoginState';
|
|
56
58
|
export * from './CustomLoginState/interfaces';
|
|
57
59
|
export * from './MSP/AllAccountsState';
|
|
@@ -67,6 +69,8 @@ declare const _default: {
|
|
|
67
69
|
initialState: import("./interfaces").AuthState;
|
|
68
70
|
reducer: import("redux").Reducer<import("./interfaces").AuthState, import("redux").AnyAction>;
|
|
69
71
|
actions: {
|
|
72
|
+
getRecommendations: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
73
|
+
getInsights: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
70
74
|
loadAccounts: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("..").WithCallback<import("@frontegg/rest-api").SearchSubTenantsParams & {
|
|
71
75
|
_links?: import("@frontegg/rest-api").FronteggPaginationLinks | undefined;
|
|
72
76
|
} & import("./MSP/AllAccountsState").TUserJwtPayload, boolean>], import("..").WithCallback<import("@frontegg/rest-api").SearchSubTenantsParams & {
|
|
@@ -439,7 +443,7 @@ declare const _default: {
|
|
|
439
443
|
loadTenantMetadata: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
440
444
|
updateTenantMetadata: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("..").WithCallback<Partial<import("./CustomLoginState/interfaces").UpdateTenantMetadataRequest>, boolean>], import("..").WithCallback<Partial<import("./CustomLoginState/interfaces").UpdateTenantMetadataRequest>, boolean>, string, never, never>;
|
|
441
445
|
loadProfile: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
442
|
-
saveProfile: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("..").WithCallback<import("@frontegg/rest-api").
|
|
446
|
+
saveProfile: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("..").WithCallback<import("@frontegg/rest-api").IGetUsersV2Response, import("@frontegg/rest-api").IGetUsersV2Response>>], Partial<import("..").WithCallback<import("@frontegg/rest-api").IGetUsersV2Response, import("@frontegg/rest-api").IGetUsersV2Response>>, string, never, never>;
|
|
443
447
|
changePassword: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("..").WithCallback<import("@frontegg/rest-api").IChangePassword, boolean>], import("..").WithCallback<import("@frontegg/rest-api").IChangePassword, boolean>, string, never, never>;
|
|
444
448
|
signUpUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("./SignUp/interfaces").ISignUpUserPayload], import("./SignUp/interfaces").ISignUpUserPayload, string, never, never>;
|
|
445
449
|
resetSignUpStateSoft: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
@@ -522,6 +526,10 @@ declare const _default: {
|
|
|
522
526
|
preVerifyMFAEmailCode: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("..").WithCallback<import("@frontegg/rest-api").IPreVerifyMFA, boolean>], import("..").WithCallback<import("@frontegg/rest-api").IPreVerifyMFA, boolean>, string, never, never>;
|
|
523
527
|
verifyMFAEmailCode: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("..").WithCallback<import("@frontegg/rest-api").IVerifyMFAEmailCode, boolean>], import("..").WithCallback<import("@frontegg/rest-api").IVerifyMFAEmailCode, boolean>, string, never, never>;
|
|
524
528
|
resetBreachedPassword: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("@frontegg/rest-api").IForgotPassword], import("@frontegg/rest-api").IForgotPassword, string, never, never>;
|
|
529
|
+
setSecurityCenterState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./SecurityCenterState/interfaces").SecurityCenterState>], Partial<import("./SecurityCenterState/interfaces").SecurityCenterState>, string, never, never>;
|
|
530
|
+
resetSecurityCenterState: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
531
|
+
setSecurityCenterStateLoader: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("./SecurityCenterState/types").SecurityCenterStateIndicator], import("./SecurityCenterState/types").SecurityCenterStateIndicator, string, never, never>;
|
|
532
|
+
setSecurityCenterStateError: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("./SecurityCenterState/types").SecurityCenterStateIndicator], import("./SecurityCenterState/types").SecurityCenterStateIndicator, string, never, never>;
|
|
525
533
|
setEntitlementsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./EntitlementsState/interfaces").EntitlementsState>], Partial<import("./EntitlementsState/interfaces").EntitlementsState>, string, never, never>;
|
|
526
534
|
setAllAccountDialogsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./MSP/AllAccountsState").IAllAccountsDialogsState>], Partial<import("./MSP/AllAccountsState").IAllAccountsDialogsState>, string, never, never>;
|
|
527
535
|
resetAllAccountDialogsState: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
package/auth/index.js
CHANGED
|
@@ -54,6 +54,8 @@ export * from './EntitlementsState';
|
|
|
54
54
|
export * from './EntitlementsState/interfaces';
|
|
55
55
|
export * from './PasskeysState';
|
|
56
56
|
export * from './PasskeysState/interfaces';
|
|
57
|
+
export * from './SecurityCenterState';
|
|
58
|
+
export * from './SecurityCenterState/interfaces';
|
|
57
59
|
export * from './CustomLoginState';
|
|
58
60
|
export * from './CustomLoginState/interfaces';
|
|
59
61
|
export * from './MSP/AllAccountsState';
|
package/auth/interfaces.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ import { GroupsDialogsState, GroupsState } from './GroupsState/interfaces';
|
|
|
25
25
|
import { CustomLoginState } from './CustomLoginState/interfaces';
|
|
26
26
|
import { IAllAccountsDialogsState, IAllAccountsState } from './MSP/AllAccountsState/types';
|
|
27
27
|
import { EntitlementsState } from './EntitlementsState/interfaces';
|
|
28
|
+
import { SecurityCenterState } from './SecurityCenterState/interfaces';
|
|
28
29
|
interface Actor {
|
|
29
30
|
sub?: string;
|
|
30
31
|
}
|
|
@@ -85,6 +86,7 @@ export interface AuthState extends Routes, PluginOptions {
|
|
|
85
86
|
allAccountsState?: IAllAccountsState;
|
|
86
87
|
allAccountsDialogsState?: IAllAccountsDialogsState;
|
|
87
88
|
entitlementsState?: EntitlementsState;
|
|
89
|
+
securityCenterState?: SecurityCenterState;
|
|
88
90
|
}
|
|
89
91
|
export declare type AuthPageRoutes = {
|
|
90
92
|
/**
|