@frontegg/redux-store 6.129.0-alpha.1 → 6.129.0-alpha.3
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/ActivateState/index.d.ts +12 -0
- package/auth/ApiTokensState/index.d.ts +8 -0
- package/auth/LoginState/saga.js +1 -1
- package/auth/SSOState/saga.v2.js +4 -9
- package/auth/Security/RestrictionsState/index.d.ts +214 -0
- package/auth/{RestrictionsState → Security/RestrictionsState}/index.js +2 -2
- package/auth/{RestrictionsState → Security/RestrictionsState}/interfaces.d.ts +1 -1
- package/auth/{RestrictionsState → Security/RestrictionsState}/saga.js +5 -5
- package/auth/Security/SecurityCenterState/index.d.ts +141 -0
- package/auth/{SecurityCenterState → Security/SecurityCenterState}/index.js +2 -2
- package/auth/{SecurityCenterState → Security/SecurityCenterState}/interfaces.d.ts +1 -1
- package/auth/{SecurityCenterState → Security/SecurityCenterState}/saga.js +4 -4
- package/auth/Security/SecurityPolicyState/index.d.ts +802 -0
- package/auth/{SecurityPolicyState → Security/SecurityPolicyState}/index.js +2 -2
- package/auth/{SecurityPolicyState → Security/SecurityPolicyState}/interfaces.d.ts +1 -1
- package/auth/{SecurityPolicyState → Security/SecurityPolicyState}/saga.d.ts +9 -9
- package/auth/{SecurityPolicyState → Security/SecurityPolicyState}/saga.js +5 -5
- package/auth/Security/SessionsPolicyState/index.d.ts +120 -0
- package/auth/{SessionsPolicyState → Security/SessionsPolicyState}/index.js +2 -2
- package/auth/{SessionsPolicyState → Security/SessionsPolicyState}/saga.js +2 -2
- package/auth/SignUp/saga.js +1 -1
- package/auth/index.d.ts +17 -17
- package/auth/index.js +9 -9
- package/auth/initialState.js +4 -4
- package/auth/interfaces.d.ts +4 -4
- package/auth/reducer.d.ts +3 -3
- package/auth/reducer.js +4 -4
- package/auth/saga.js +4 -4
- package/index.js +1 -1
- package/node/auth/LoginState/saga.js +1 -1
- package/node/auth/SSOState/saga.v2.js +3 -8
- package/node/auth/{RestrictionsState → Security/RestrictionsState}/index.js +2 -2
- package/node/auth/{RestrictionsState → Security/RestrictionsState}/saga.js +5 -5
- package/node/auth/{SecurityCenterState → Security/SecurityCenterState}/index.js +2 -2
- package/node/auth/{SecurityCenterState → Security/SecurityCenterState}/saga.js +4 -4
- package/node/auth/{SecurityPolicyState → Security/SecurityPolicyState}/index.js +2 -2
- package/node/auth/{SecurityPolicyState → Security/SecurityPolicyState}/saga.js +5 -5
- package/node/auth/{SessionsPolicyState → Security/SessionsPolicyState}/index.js +2 -2
- package/node/auth/{SessionsPolicyState → Security/SessionsPolicyState}/saga.js +2 -2
- package/node/auth/SignUp/saga.js +1 -1
- package/node/auth/index.js +9 -9
- package/node/auth/initialState.js +4 -4
- package/node/auth/reducer.js +4 -4
- package/node/auth/saga.js +4 -4
- package/node/index.js +1 -1
- package/package.json +2 -2
- package/auth/RestrictionsState/index.d.ts +0 -226
- package/auth/SecurityCenterState/index.d.ts +0 -141
- package/auth/SecurityPolicyState/index.d.ts +0 -802
- package/auth/SessionsPolicyState/index.d.ts +0 -120
- /package/auth/{RestrictionsState → Security/RestrictionsState}/interfaces.js +0 -0
- /package/auth/{RestrictionsState → Security/RestrictionsState}/saga.d.ts +0 -0
- /package/auth/{SecurityCenterState → Security/SecurityCenterState}/interfaces.js +0 -0
- /package/auth/{SecurityCenterState → Security/SecurityCenterState}/saga.d.ts +0 -0
- /package/auth/{SecurityCenterState → Security/SecurityCenterState}/types.d.ts +0 -0
- /package/auth/{SecurityCenterState → Security/SecurityCenterState}/types.js +0 -0
- /package/auth/{SecurityPolicyState → Security/SecurityPolicyState}/interfaces.js +0 -0
- /package/auth/{SessionsPolicyState → Security/SessionsPolicyState}/interfaces.d.ts +0 -0
- /package/auth/{SessionsPolicyState → Security/SessionsPolicyState}/interfaces.js +0 -0
- /package/auth/{SessionsPolicyState → Security/SessionsPolicyState}/saga.d.ts +0 -0
- /package/node/auth/{RestrictionsState → Security/RestrictionsState}/interfaces.js +0 -0
- /package/node/auth/{SecurityCenterState → Security/SecurityCenterState}/interfaces.js +0 -0
- /package/node/auth/{SecurityCenterState → Security/SecurityCenterState}/types.js +0 -0
- /package/node/auth/{SecurityPolicyState → Security/SecurityPolicyState}/interfaces.js +0 -0
- /package/node/auth/{SessionsPolicyState → Security/SessionsPolicyState}/interfaces.js +0 -0
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { SessionsPolicyState } from './interfaces';
|
|
2
|
-
import { WithCallback } from '../../interfaces';
|
|
3
|
-
import { ISessionConfigurations } from '@frontegg/rest-api';
|
|
4
|
-
declare const sessionsPolicyState: SessionsPolicyState;
|
|
5
|
-
declare const reducers: {
|
|
6
|
-
setSessionsPolicyState: {
|
|
7
|
-
prepare: (payload: Partial<SessionsPolicyState>) => {
|
|
8
|
-
payload: Partial<SessionsPolicyState>;
|
|
9
|
-
};
|
|
10
|
-
reducer: (state: import("..").AuthState, { payload }: {
|
|
11
|
-
payload: Partial<SessionsPolicyState>;
|
|
12
|
-
type: string;
|
|
13
|
-
}) => {
|
|
14
|
-
onRedirectTo: (path: string, opts?: import("@frontegg/rest-api").RedirectOptions | undefined) => void;
|
|
15
|
-
error?: any;
|
|
16
|
-
isAuthenticated: boolean;
|
|
17
|
-
userIp?: string | undefined;
|
|
18
|
-
isLoading: boolean;
|
|
19
|
-
keepSessionAlive?: boolean | undefined;
|
|
20
|
-
user?: import("..").User | null | undefined;
|
|
21
|
-
isSSOAuth: boolean;
|
|
22
|
-
ssoACS?: string | undefined;
|
|
23
|
-
includeQueryParam?: boolean | undefined;
|
|
24
|
-
loginState: import("..").LoginState;
|
|
25
|
-
activateState: import("..").ActivateAccountState;
|
|
26
|
-
acceptInvitationState: import("..").AcceptInvitationState;
|
|
27
|
-
forgotPasswordState: import("..").ForgotPasswordState;
|
|
28
|
-
resetPhoneNumberState: import("..").ResetPhoneNumberState;
|
|
29
|
-
ssoState: import("..").SSOState;
|
|
30
|
-
profileState: import("..").ProfileState;
|
|
31
|
-
mfaState: import("..").MFAState;
|
|
32
|
-
teamState: import("..").TeamState;
|
|
33
|
-
groupsState: import("..").GroupsState;
|
|
34
|
-
groupsDialogsState: import("..").GroupsDialogsState;
|
|
35
|
-
socialLoginState: import("..").SocialLoginState;
|
|
36
|
-
signUpState: import("..").SignUpState;
|
|
37
|
-
apiTokensState: import("..").ApiTokensState;
|
|
38
|
-
securityPolicyState: import("..").SecurityPolicyState;
|
|
39
|
-
restrictionsState: import("..").RestrictionsState;
|
|
40
|
-
provisioningState: import("..").ProvisioningState;
|
|
41
|
-
accountSettingsState: import("..").AccountSettingsState;
|
|
42
|
-
tenantsState: import("..").TenantsState;
|
|
43
|
-
rolesState: import("..").RolesState;
|
|
44
|
-
sessionsState: import("..").SessionsState;
|
|
45
|
-
hostedLoginBox?: boolean | undefined;
|
|
46
|
-
disableSilentRefresh?: boolean | undefined;
|
|
47
|
-
sessionsPolicyState: SessionsPolicyState;
|
|
48
|
-
impersonateState?: import("..").ImpersonateState | undefined;
|
|
49
|
-
passkeysState?: import("..").PasskeysState | undefined;
|
|
50
|
-
customLoginState?: import("..").CustomLoginState | undefined;
|
|
51
|
-
allAccountsState?: import("..").IAllAccountsState | undefined;
|
|
52
|
-
allAccountsDialogsState?: import("..").IAllAccountsDialogsState | undefined;
|
|
53
|
-
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
54
|
-
routes: import("..").AuthPageRoutes;
|
|
55
|
-
header?: any;
|
|
56
|
-
loaderComponent?: any;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
resetSessionsPolicyState: (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: 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
|
-
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
100
|
-
routes: import("..").AuthPageRoutes;
|
|
101
|
-
header?: any;
|
|
102
|
-
loaderComponent?: any;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
declare const actions: {
|
|
106
|
-
loadSessionsPolicy: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
107
|
-
createOrUpdateSessionsPolicy: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<ISessionConfigurations, boolean>], WithCallback<ISessionConfigurations, boolean>, string, never, never>;
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* To be used for actions types after dispatch, and should contains
|
|
111
|
-
* the reducers and actions as standalone function
|
|
112
|
-
*/
|
|
113
|
-
declare type DispatchedActions = {
|
|
114
|
-
loadSessionsPolicy: () => void;
|
|
115
|
-
setSessionsPolicyState: (state: Partial<SessionsPolicyState>) => void;
|
|
116
|
-
resetSessionsPolicyState: () => void;
|
|
117
|
-
createOrUpdateSessionsPolicy: (payload: WithCallback<ISessionConfigurations>) => void;
|
|
118
|
-
};
|
|
119
|
-
export declare type SessionsPolicyActions = DispatchedActions;
|
|
120
|
-
export { sessionsPolicyState, reducers as sessionsPolicyReducers, actions as sessionsPolicyActions };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|