@frontegg/redux-store 5.60.0 → 5.62.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/LoginState/index.d.ts +14 -2
- package/auth/LoginState/interfaces.d.ts +21 -2
- package/auth/LoginState/saga.d.ts +7 -3
- package/auth/SecurityPolicyState/index.d.ts +47 -1
- package/auth/SecurityPolicyState/interfaces.d.ts +3 -1
- package/auth/SecurityPolicyState/saga.d.ts +6 -0
- package/auth/index.d.ts +14 -0
- package/auth/index.js +248 -33
- package/auth/reducer.d.ts +14 -0
- package/auth/utils.d.ts +3 -0
- package/index.js +1 -1
- package/node/auth/index.js +15 -3
- package/node/{index-9f052030.js → index-175a6fdc.js} +271 -146
- package/node/index-6906e508.js +151 -0
- package/node/index.js +14 -2
- package/node/toolkit/index.js +2 -2
- package/node/vendor/index.js +1 -1
- package/package.json +2 -2
- package/node/index-2ab7009b.js +0 -52
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ILogin, ILoginWithMfa, IPasswordlessPreLogin, IPostLogin, IPreLogin, IRecoverMFAToken } from '@frontegg/rest-api';
|
|
2
|
-
import { HostedLoginCallback, IPasswordlessPostLoginPayload, LoginState } from './interfaces';
|
|
1
|
+
import { ICreateNewDeviceSessionResponse, ILogin, ILoginWithMfa, IPasswordlessPreLogin, IPostLogin, IPreLogin, IRecoverMFAToken, IWebAuthnPreLogin, IWebAuthnPreLoginResponse } from '@frontegg/rest-api';
|
|
2
|
+
import { HostedLoginCallback, IPasswordlessPostLoginPayload, IVerifyNewWebAuthnDevicePayload, IWebAuthnPostLoginPayload, LoginState } from './interfaces';
|
|
3
3
|
import { WithCallback } from '../../interfaces';
|
|
4
4
|
import { IVerifyInviteToken } from '@frontegg/rest-api';
|
|
5
5
|
declare const loginState: LoginState;
|
|
@@ -98,6 +98,14 @@ declare const actions: {
|
|
|
98
98
|
passwordlessPreLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IPasswordlessPreLogin, void>], WithCallback<IPasswordlessPreLogin, void>, string, never, never>;
|
|
99
99
|
passwordlessPostLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IPasswordlessPostLoginPayload, boolean>], WithCallback<IPasswordlessPostLoginPayload, boolean>, string, never, never>;
|
|
100
100
|
verifyInviteToken: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[IVerifyInviteToken], IVerifyInviteToken, string, never, never>;
|
|
101
|
+
webAuthnPrelogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IWebAuthnPreLogin, IWebAuthnPreLoginResponse | null>], WithCallback<IWebAuthnPreLogin, IWebAuthnPreLoginResponse | null>, string, never, never>;
|
|
102
|
+
webAuthnPostLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[IWebAuthnPostLoginPayload], IWebAuthnPostLoginPayload, string, never, never>;
|
|
103
|
+
webAuthnCreateNewDeviceSession: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[{
|
|
104
|
+
callback?: ((data: ICreateNewDeviceSessionResponse | null, error?: string | undefined) => void) | undefined;
|
|
105
|
+
}], {
|
|
106
|
+
callback?: ((data: ICreateNewDeviceSessionResponse | null, error?: string | undefined) => void) | undefined;
|
|
107
|
+
}, string, never, never>;
|
|
108
|
+
webAuthnVerifyNewDeviceSession: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[IVerifyNewWebAuthnDevicePayload], IVerifyNewWebAuthnDevicePayload, string, never, never>;
|
|
101
109
|
};
|
|
102
110
|
/**
|
|
103
111
|
* To be used for actions types after dispatch, and should contains
|
|
@@ -127,6 +135,10 @@ declare type DispatchedActions = {
|
|
|
127
135
|
passwordlessPreLogin: (payload: IPasswordlessPreLogin) => void;
|
|
128
136
|
passwordlessPostLogin: (payload: WithCallback<IPasswordlessPostLoginPayload>) => void;
|
|
129
137
|
verifyInviteToken: (payload: IVerifyInviteToken) => void;
|
|
138
|
+
webAuthnPrelogin: (payload: WithCallback<IWebAuthnPreLogin, IWebAuthnPreLoginResponse | null>) => void;
|
|
139
|
+
webAuthnPostLogin: (payload: IWebAuthnPostLoginPayload) => void;
|
|
140
|
+
webAuthnCreateNewDeviceSession: (payload: WithCallback<{}, ICreateNewDeviceSessionResponse | null>) => void;
|
|
141
|
+
webAuthnVerifyNewDeviceSession: (payload: IVerifyNewWebAuthnDevicePayload) => void;
|
|
130
142
|
};
|
|
131
143
|
export declare type LoginActions = DispatchedActions;
|
|
132
144
|
export { loginState, reducers as loginReducers, actions as loginActions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AuthStrategyEnum, IPasswordlessPostLogin, ITenantsResponse } from '@frontegg/rest-api';
|
|
1
|
+
import { AuthStrategyEnum, IPasswordlessPostLogin, ITenantsResponse, IVerifyNewWebAuthnDevice, IWebAuthnPostLogin } from '@frontegg/rest-api';
|
|
2
|
+
import { WithCallback } from '../../interfaces';
|
|
2
3
|
import { CustomEventsOptions } from '../interfaces';
|
|
3
|
-
export { AuthStrategyEnum };
|
|
4
4
|
export declare enum LoginStep {
|
|
5
5
|
'preLogin' = "preLogin",
|
|
6
6
|
'magicLinkPreLoginSuccess' = "magicLinkPreLoginSuccess",
|
|
@@ -14,10 +14,21 @@ export declare enum LoginStep {
|
|
|
14
14
|
'forceTwoFactor' = "forceTwoFactor",
|
|
15
15
|
'recoverTwoFactor' = "recoverTwoFactor"
|
|
16
16
|
}
|
|
17
|
+
export declare enum LoginFlow {
|
|
18
|
+
Login = "login",
|
|
19
|
+
RegisterQuickLogin = "registerQuickLogin"
|
|
20
|
+
}
|
|
21
|
+
export declare enum QuickLoginStrategy {
|
|
22
|
+
Internal = "internal",
|
|
23
|
+
UsbKey = "usb-key",
|
|
24
|
+
Android = "android",
|
|
25
|
+
Sms = "sms"
|
|
26
|
+
}
|
|
17
27
|
export interface LoginState {
|
|
18
28
|
loading: boolean;
|
|
19
29
|
error?: any;
|
|
20
30
|
step: LoginStep;
|
|
31
|
+
flow: LoginFlow;
|
|
21
32
|
ssoRedirectUrl?: string;
|
|
22
33
|
mfaRequired?: boolean;
|
|
23
34
|
mfaToken?: string;
|
|
@@ -30,6 +41,7 @@ export interface LoginState {
|
|
|
30
41
|
inviteTokenError?: string;
|
|
31
42
|
isNewUser?: boolean;
|
|
32
43
|
phoneNumber?: string;
|
|
44
|
+
quickLoginToRegister?: QuickLoginStrategy;
|
|
33
45
|
}
|
|
34
46
|
export interface HostedLoginCallback {
|
|
35
47
|
code: string;
|
|
@@ -39,3 +51,10 @@ export interface HostedLoginCallback {
|
|
|
39
51
|
export interface IPasswordlessPostLoginPayload extends IPasswordlessPostLogin {
|
|
40
52
|
events?: CustomEventsOptions;
|
|
41
53
|
}
|
|
54
|
+
export declare type IWebAuthnPostLoginPayload = WithCallback<Omit<IWebAuthnPostLogin, 'response' | 'id'>> & {
|
|
55
|
+
publicKey: Credential;
|
|
56
|
+
};
|
|
57
|
+
export declare type IVerifyNewWebAuthnDevicePayload = WithCallback<Omit<IVerifyNewWebAuthnDevice, 'response' | 'id'>> & {
|
|
58
|
+
publicKey: Credential;
|
|
59
|
+
};
|
|
60
|
+
export { AuthStrategyEnum };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CallEffect } from 'redux-saga/effects';
|
|
2
2
|
import { IAllowedToRememberMfaDevice, ILoginResponse, ILoginResponseV2, ISamlMetadata } from '@frontegg/rest-api';
|
|
3
3
|
import { AuthState } from '../interfaces';
|
|
4
|
-
import { LoginStep } from './interfaces';
|
|
4
|
+
import { LoginFlow, LoginStep, QuickLoginStrategy } from './interfaces';
|
|
5
5
|
export declare function afterAuthNavigation(): Generator<import("redux-saga/effects").SelectEffect | CallEffect<true>, void, {
|
|
6
6
|
routes: any;
|
|
7
7
|
includeQueryParam: any;
|
|
@@ -27,15 +27,17 @@ export declare function getMfaRequiredState(user: any): Generator<import("redux-
|
|
|
27
27
|
error: undefined;
|
|
28
28
|
step: LoginStep.loginWithTwoFactor | LoginStep.forceTwoFactor;
|
|
29
29
|
tenantsLoading: boolean;
|
|
30
|
+
email: any;
|
|
30
31
|
tenants: never[];
|
|
31
32
|
allowRememberMfaDevice: any;
|
|
32
33
|
mfaDeviceExpiration: any;
|
|
34
|
+
flow: LoginFlow;
|
|
33
35
|
ssoRedirectUrl?: string | undefined;
|
|
34
|
-
email?: string | undefined;
|
|
35
36
|
inviteTokenTenantName?: string | undefined;
|
|
36
37
|
inviteTokenError?: string | undefined;
|
|
37
38
|
isNewUser?: boolean | undefined;
|
|
38
39
|
phoneNumber?: string | undefined;
|
|
40
|
+
quickLoginToRegister?: QuickLoginStrategy | undefined;
|
|
39
41
|
};
|
|
40
42
|
user: undefined;
|
|
41
43
|
isAuthenticated: boolean;
|
|
@@ -57,15 +59,17 @@ export declare function refreshToken(): Generator<import("redux-saga/effects").S
|
|
|
57
59
|
error: undefined;
|
|
58
60
|
step: LoginStep.loginWithTwoFactor | LoginStep.forceTwoFactor;
|
|
59
61
|
tenantsLoading: boolean;
|
|
62
|
+
email: any;
|
|
60
63
|
tenants: never[];
|
|
61
64
|
allowRememberMfaDevice: any;
|
|
62
65
|
mfaDeviceExpiration: any;
|
|
66
|
+
flow: LoginFlow;
|
|
63
67
|
ssoRedirectUrl?: string | undefined;
|
|
64
|
-
email?: string | undefined;
|
|
65
68
|
inviteTokenTenantName?: string | undefined;
|
|
66
69
|
inviteTokenError?: string | undefined;
|
|
67
70
|
isNewUser?: boolean | undefined;
|
|
68
71
|
phoneNumber?: string | undefined;
|
|
72
|
+
quickLoginToRegister?: QuickLoginStrategy | undefined;
|
|
69
73
|
};
|
|
70
74
|
user: undefined;
|
|
71
75
|
isAuthenticated: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CaptchaPolicyState, GlobalPolicyState, PublicPolicyState, LockoutPolicyState, MfaPolicyState, PasswordPolicyState, SaveSecurityPolicyLockoutPayload, SaveSecurityPolicyMfaPayload, SecurityPolicyState, PasswordHistoryPolicyState, SaveSecurityPolicyPasswordHistoryPayload } from './interfaces';
|
|
1
|
+
import { CaptchaPolicyState, GlobalPolicyState, PublicPolicyState, LockoutPolicyState, MfaPolicyState, PasswordPolicyState, SaveSecurityPolicyLockoutPayload, SaveSecurityPolicyMfaPayload, SecurityPolicyState, PasswordHistoryPolicyState, SaveSecurityPolicyPasswordHistoryPayload, PublicAuthStrategyPolicyState } from './interfaces';
|
|
2
2
|
declare const securityPolicyState: SecurityPolicyState;
|
|
3
3
|
declare const reducers: {
|
|
4
4
|
setSecurityPolicyState: {
|
|
@@ -124,6 +124,49 @@ declare const reducers: {
|
|
|
124
124
|
loaderComponent?: any;
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
+
setSecurityPolicyAuthStrategyPublicState: {
|
|
128
|
+
prepare: (payload: Partial<import("../../interfaces").WithStatus & {
|
|
129
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
130
|
+
}>) => {
|
|
131
|
+
payload: Partial<import("../../interfaces").WithStatus & {
|
|
132
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
133
|
+
}>;
|
|
134
|
+
};
|
|
135
|
+
reducer: (state: import("..").AuthState, { payload }: {
|
|
136
|
+
payload: Partial<import("../../interfaces").WithStatus & {
|
|
137
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
138
|
+
}>;
|
|
139
|
+
type: string;
|
|
140
|
+
}) => {
|
|
141
|
+
onRedirectTo: (path: string, opts?: import("@frontegg/rest-api").RedirectOptions | undefined) => void;
|
|
142
|
+
error?: any;
|
|
143
|
+
isAuthenticated: boolean;
|
|
144
|
+
isLoading: boolean;
|
|
145
|
+
keepSessionAlive?: boolean | undefined;
|
|
146
|
+
user?: import("..").User | null | undefined;
|
|
147
|
+
isSSOAuth: boolean;
|
|
148
|
+
ssoACS?: string | undefined;
|
|
149
|
+
loginState: import("..").LoginState;
|
|
150
|
+
activateState: import("..").ActivateAccountState;
|
|
151
|
+
acceptInvitationState: import("..").AcceptInvitationState;
|
|
152
|
+
forgotPasswordState: import("..").ForgotPasswordState;
|
|
153
|
+
resetPhoneNumberState: import("..").ResetPhoneNumberState;
|
|
154
|
+
ssoState: import("..").SSOState;
|
|
155
|
+
profileState: import("..").ProfileState;
|
|
156
|
+
mfaState: import("..").MFAState;
|
|
157
|
+
teamState: import("..").TeamState;
|
|
158
|
+
socialLoginState: import("..").SocialLoginState;
|
|
159
|
+
signUpState: import("..").SignUpState;
|
|
160
|
+
apiTokensState: import("..").ApiTokensState;
|
|
161
|
+
securityPolicyState: SecurityPolicyState;
|
|
162
|
+
accountSettingsState: import("..").AccountSettingsState;
|
|
163
|
+
tenantsState: import("..").TenantsState;
|
|
164
|
+
rolesState: import("..").RolesState;
|
|
165
|
+
routes: import("..").AuthPageRoutes;
|
|
166
|
+
header?: any;
|
|
167
|
+
loaderComponent?: any;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
127
170
|
setSecurityPolicyMfaState: {
|
|
128
171
|
prepare: (payload: Partial<import("../../interfaces").WithStatus & {
|
|
129
172
|
policy?: import("@frontegg/rest-api").ISecurityPolicyMfa | undefined;
|
|
@@ -424,6 +467,7 @@ declare const actions: {
|
|
|
424
467
|
loadSecurityPolicyPasswordHistory: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
425
468
|
saveSecurityPolicyPasswordHistory: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../../interfaces").WithCallback<import("@frontegg/rest-api").ISaveSecurityPolicyPasswordHistory, import("@frontegg/rest-api").ISecurityPolicyPasswordHistory>], import("../../interfaces").WithCallback<import("@frontegg/rest-api").ISaveSecurityPolicyPasswordHistory, import("@frontegg/rest-api").ISecurityPolicyPasswordHistory>, string, never, never>;
|
|
426
469
|
loadVendorPasswordConfig: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
470
|
+
loadPublicAuthStrategiesPolicy: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
427
471
|
};
|
|
428
472
|
/**
|
|
429
473
|
* To be used for actions types after dispatch, and should contains
|
|
@@ -440,6 +484,7 @@ declare type DispatchedActions = {
|
|
|
440
484
|
setSecurityPolicyPasswordHistoryState: (state: Partial<PasswordHistoryPolicyState>) => void;
|
|
441
485
|
resetSecurityPolicyState: () => void;
|
|
442
486
|
setSecurityPolicyPasswordState: (state: Partial<PasswordPolicyState>) => void;
|
|
487
|
+
setSecurityPolicyAuthStrategyPublicState: (state: Partial<PublicAuthStrategyPolicyState>) => void;
|
|
443
488
|
loadSecurityPolicy: () => void;
|
|
444
489
|
loadPublicSecurityPolicy: () => void;
|
|
445
490
|
loadVendorPasswordConfig: () => void;
|
|
@@ -451,6 +496,7 @@ declare type DispatchedActions = {
|
|
|
451
496
|
loadSecurityPolicyCaptcha: () => void;
|
|
452
497
|
loadSecurityPolicyPasswordHistory: () => void;
|
|
453
498
|
saveSecurityPolicyPasswordHistory: (payload: SaveSecurityPolicyPasswordHistoryPayload) => void;
|
|
499
|
+
loadPublicAuthStrategiesPolicy: () => void;
|
|
454
500
|
};
|
|
455
501
|
export declare type SecurityPolicyActions = DispatchedActions;
|
|
456
502
|
export { securityPolicyState, reducers as securityPolicyReducers, actions as securityPolicyActions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WithCallback, WithStatus } from '../../interfaces';
|
|
2
|
-
import { ISaveSecurityPolicyLockout, ISaveSecurityPolicyMfa, ISaveSecurityPolicyPasswordHistory, ISecurityPolicy, ISecurityPolicyCaptcha, ISecurityPolicyLockout, ISecurityPolicyMfa, ISecurityPolicyPasswordHistory, ISecurityPolicyPasswordConfig, IVendorConfig } from '@frontegg/rest-api';
|
|
2
|
+
import { ISaveSecurityPolicyLockout, ISaveSecurityPolicyMfa, ISaveSecurityPolicyPasswordHistory, ISecurityPolicy, ISecurityPolicyCaptcha, ISecurityPolicyLockout, ISecurityPolicyMfa, ISecurityPolicyPasswordHistory, ISecurityPolicyPasswordConfig, IVendorConfig, IAuthStrategiesConfig } from '@frontegg/rest-api';
|
|
3
3
|
declare type PolicyState<T> = WithStatus & {
|
|
4
4
|
policy?: T;
|
|
5
5
|
};
|
|
@@ -10,6 +10,7 @@ export declare type LockoutPolicyState = PolicyState<ISecurityPolicyLockout>;
|
|
|
10
10
|
export declare type CaptchaPolicyState = PolicyState<ISecurityPolicyCaptcha>;
|
|
11
11
|
export declare type PasswordHistoryPolicyState = PolicyState<ISecurityPolicyPasswordHistory>;
|
|
12
12
|
export declare type PasswordPolicyState = PolicyState<ISecurityPolicyPasswordConfig>;
|
|
13
|
+
export declare type PublicAuthStrategyPolicyState = PolicyState<IAuthStrategiesConfig>;
|
|
13
14
|
export interface SecurityPolicyState {
|
|
14
15
|
globalPolicy: GlobalPolicyState;
|
|
15
16
|
publicPolicy: PublicPolicyState;
|
|
@@ -19,6 +20,7 @@ export interface SecurityPolicyState {
|
|
|
19
20
|
captchaPolicy: CaptchaPolicyState;
|
|
20
21
|
passwordHistoryPolicy: PasswordHistoryPolicyState;
|
|
21
22
|
passwordPolicy: PasswordPolicyState;
|
|
23
|
+
publicAuthStrategyPolicy: PublicAuthStrategyPolicyState;
|
|
22
24
|
}
|
|
23
25
|
export declare type SaveSecurityPolicyMfaPayload = WithCallback<ISaveSecurityPolicyMfa, ISecurityPolicyMfa>;
|
|
24
26
|
export declare type SaveSecurityPolicyLockoutPayload = WithCallback<ISaveSecurityPolicyLockout, ISecurityPolicyLockout>;
|
|
@@ -5,6 +5,12 @@ export declare function loadPublicSecurityPolicy(): Generator<import("redux-saga
|
|
|
5
5
|
}>;
|
|
6
6
|
type: string;
|
|
7
7
|
}> | import("redux-saga/effects").CallEffect<IVendorConfig>, void, IVendorConfig>;
|
|
8
|
+
export declare function loadPublicAuthStrategiesPolicy(): Generator<import("redux-saga/effects").PutEffect<{
|
|
9
|
+
payload: Partial<import("../../interfaces").WithStatus & {
|
|
10
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
type: string;
|
|
13
|
+
}> | import("redux-saga/effects").CallEffect<import("@frontegg/rest-api").IAuthStrategiesConfig>, void, unknown>;
|
|
8
14
|
export declare function securityPolicySagas(): Generator<import("redux-saga/effects").ForkEffect<never>, void, unknown>;
|
|
9
15
|
/*********************************
|
|
10
16
|
* Preview Sagas
|
package/auth/index.d.ts
CHANGED
|
@@ -87,6 +87,7 @@ declare const _default: {
|
|
|
87
87
|
loadSecurityPolicyPasswordHistory: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
88
88
|
saveSecurityPolicyPasswordHistory: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").ISaveSecurityPolicyPasswordHistory, import("@frontegg/rest-api").ISecurityPolicyPasswordHistory>], import("../interfaces").WithCallback<import("@frontegg/rest-api").ISaveSecurityPolicyPasswordHistory, import("@frontegg/rest-api").ISecurityPolicyPasswordHistory>, string, never, never>;
|
|
89
89
|
loadVendorPasswordConfig: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
90
|
+
loadPublicAuthStrategiesPolicy: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
90
91
|
loadApiTokens: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(import("../interfaces").WithSilentLoad<{
|
|
91
92
|
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined;
|
|
92
93
|
}> | undefined)?], import("../interfaces").WithSilentLoad<{
|
|
@@ -291,6 +292,14 @@ declare const _default: {
|
|
|
291
292
|
passwordlessPreLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IPasswordlessPreLogin, void>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IPasswordlessPreLogin, void>, string, never, never>;
|
|
292
293
|
passwordlessPostLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("./LoginState/interfaces").IPasswordlessPostLoginPayload, boolean>], import("../interfaces").WithCallback<import("./LoginState/interfaces").IPasswordlessPostLoginPayload, boolean>, string, never, never>;
|
|
293
294
|
verifyInviteToken: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("@frontegg/rest-api").IVerifyInviteToken], import("@frontegg/rest-api").IVerifyInviteToken, string, never, never>;
|
|
295
|
+
webAuthnPrelogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IWebAuthnPreLogin, import("@frontegg/rest-api").IWebAuthnPreLoginResponse | null>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IWebAuthnPreLogin, import("@frontegg/rest-api").IWebAuthnPreLoginResponse | null>, string, never, never>;
|
|
296
|
+
webAuthnPostLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("./LoginState/interfaces").IWebAuthnPostLoginPayload], import("./LoginState/interfaces").IWebAuthnPostLoginPayload, string, never, never>;
|
|
297
|
+
webAuthnCreateNewDeviceSession: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[{
|
|
298
|
+
callback?: ((data: import("@frontegg/rest-api").ICreateNewDeviceSessionResponse | null, error?: string | undefined) => void) | undefined;
|
|
299
|
+
}], {
|
|
300
|
+
callback?: ((data: import("@frontegg/rest-api").ICreateNewDeviceSessionResponse | null, error?: string | undefined) => void) | undefined;
|
|
301
|
+
}, string, never, never>;
|
|
302
|
+
webAuthnVerifyNewDeviceSession: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("./LoginState/interfaces").IVerifyNewWebAuthnDevicePayload], import("./LoginState/interfaces").IVerifyNewWebAuthnDevicePayload, string, never, never>;
|
|
294
303
|
setRolesState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./RolesState/interfaces").RolesState>], Partial<import("./RolesState/interfaces").RolesState>, string, never, never>;
|
|
295
304
|
resetRolesState: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
296
305
|
setTenantsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./TenantsState/interfaces").TenantsState>], Partial<import("./TenantsState/interfaces").TenantsState>, string, never, never>;
|
|
@@ -308,6 +317,11 @@ declare const _default: {
|
|
|
308
317
|
}>], Partial<import("../interfaces").WithStatus & {
|
|
309
318
|
policy?: import("@frontegg/rest-api").IVendorConfig | undefined;
|
|
310
319
|
}>, string, never, never>;
|
|
320
|
+
setSecurityPolicyAuthStrategyPublicState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("../interfaces").WithStatus & {
|
|
321
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
322
|
+
}>], Partial<import("../interfaces").WithStatus & {
|
|
323
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
324
|
+
}>, string, never, never>;
|
|
311
325
|
setSecurityPolicyMfaState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("../interfaces").WithStatus & {
|
|
312
326
|
policy?: import("@frontegg/rest-api").ISecurityPolicyMfa | undefined;
|
|
313
327
|
}>], Partial<import("../interfaces").WithStatus & {
|