@authing/react-ui-components 3.1.38-beta.0 → 4.0.0-beta.1
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/lib/index.d.ts +649 -1964
- package/lib/index.min.css +2 -2
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare module '@authing/react-ui-components/
|
|
1
|
+
declare module '@authing/react-ui-components/AuthClientProvider/AuthClientProvider' {
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { AuthClientContextProps } from '@authing/react-ui-components/
|
|
3
|
+
import { AuthClientContextProps } from '@authing/react-ui-components/AuthClientProvider/context';
|
|
4
4
|
export const AuthClientProvider: React.FC<AuthClientContextProps>;
|
|
5
5
|
export const useGlobalAuthClient: () => import("authing-js-sdk").AuthenticationClient | undefined;
|
|
6
6
|
|
|
7
7
|
}
|
|
8
|
-
declare module '@authing/react-ui-components/
|
|
8
|
+
declare module '@authing/react-ui-components/AuthClientProvider/context' {
|
|
9
9
|
import { AuthenticationClient } from 'authing-js-sdk';
|
|
10
10
|
import React from 'react';
|
|
11
11
|
export interface AuthClientContextProps {
|
|
@@ -14,1083 +14,11 @@ declare module '@authing/react-ui-components/components/AuthClientProvider/conte
|
|
|
14
14
|
export const AuthClientContext: React.Context<AuthClientContextProps | undefined>;
|
|
15
15
|
|
|
16
16
|
}
|
|
17
|
-
declare module '@authing/react-ui-components/
|
|
18
|
-
export { AuthClientProvider, useGlobalAuthClient } from '@authing/react-ui-components/
|
|
17
|
+
declare module '@authing/react-ui-components/AuthClientProvider/index' {
|
|
18
|
+
export { AuthClientProvider, useGlobalAuthClient } from '@authing/react-ui-components/AuthClientProvider/AuthClientProvider';
|
|
19
19
|
|
|
20
20
|
}
|
|
21
|
-
declare module '@authing/react-ui-components/
|
|
22
|
-
import React, { FC } from 'react';
|
|
23
|
-
import './style.less';
|
|
24
|
-
/**
|
|
25
|
-
* 不使用 antd 的 dropdown,因为里面会用 tooltip,体积过大
|
|
26
|
-
*/
|
|
27
|
-
export const AuthingDropdown: FC<{
|
|
28
|
-
className?: string;
|
|
29
|
-
menus: {
|
|
30
|
-
label: React.ReactNode;
|
|
31
|
-
key: string | number;
|
|
32
|
-
onClick?: (key: string | number, evt: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
33
|
-
}[];
|
|
34
|
-
}>;
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/AppMFALayout/index' {
|
|
38
|
-
import { FC } from 'react';
|
|
39
|
-
import './style.less';
|
|
40
|
-
export interface MfaLayoutProps {
|
|
41
|
-
}
|
|
42
|
-
export const AppMfaLayout: FC<MfaLayoutProps>;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/CompleteUserInfoLayout/index' {
|
|
46
|
-
import { FC } from 'react';
|
|
47
|
-
import './style.less';
|
|
48
|
-
export const CompleteUserInfoLayout: FC;
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ADLoginForm/index' {
|
|
52
|
-
import { FormInstance } from 'antd/lib/form';
|
|
53
|
-
import React from 'react';
|
|
54
|
-
import { ADLoginFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
55
|
-
export const ADLoginForm: React.ForwardRefExoticComponent<ADLoginFormProps & React.RefAttributes<FormInstance<any>>>;
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/Agreements/index' {
|
|
59
|
-
import React, { FC } from 'react';
|
|
60
|
-
import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
61
|
-
import './style.less';
|
|
62
|
-
export interface AgreementsProps {
|
|
63
|
-
value?: boolean;
|
|
64
|
-
onChange?: (value: boolean) => void;
|
|
65
|
-
style?: React.CSSProperties;
|
|
66
|
-
agreements: Agreement[];
|
|
67
|
-
showError?: boolean;
|
|
68
|
-
}
|
|
69
|
-
export const Agreements: FC<AgreementsProps>;
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/CompleteUserInfoForm/index' {
|
|
73
|
-
import { FC } from 'react';
|
|
74
|
-
import { CompleteUserInfoFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
75
|
-
export const CompleteUserInfoForm: FC<CompleteUserInfoFormProps>;
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm' {
|
|
79
|
-
import { FC } from 'react';
|
|
80
|
-
import { MFACheckEmailFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
81
|
-
import './style.less';
|
|
82
|
-
export const CheckEmailForm: FC<MFACheckEmailFormProps>;
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm' {
|
|
86
|
-
import { FC } from 'react';
|
|
87
|
-
import { EmailMFAVerifyFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
88
|
-
import './style.less';
|
|
89
|
-
export const VerifyCodeForm: FC<EmailMFAVerifyFormProps>;
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/EmailMfaVerifyForm/index' {
|
|
93
|
-
import { FC } from 'react';
|
|
94
|
-
import { SmsMFAFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
95
|
-
export const EmailMfaVerifyForm: FC<SmsMFAFormProps>;
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/EmailRegisterForm/index' {
|
|
99
|
-
import React from 'react';
|
|
100
|
-
import { FormInstance } from 'antd/lib/form';
|
|
101
|
-
import { EmailRegisterFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
102
|
-
export const EmailRegisterForm: React.ForwardRefExoticComponent<EmailRegisterFormProps & React.RefAttributes<FormInstance<any>>>;
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/LdapLoginForm/index' {
|
|
106
|
-
import { FormInstance } from 'antd/lib/form';
|
|
107
|
-
import React from 'react';
|
|
108
|
-
import { PasswordLoginFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
109
|
-
export const LdapLoginForm: React.ForwardRefExoticComponent<PasswordLoginFormProps & React.RefAttributes<FormInstance<any>>>;
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/LoginFormFooter/index' {
|
|
113
|
-
import { FC } from 'react';
|
|
114
|
-
import './style.less';
|
|
115
|
-
export interface LoginFormFooterProps {
|
|
116
|
-
loading: boolean;
|
|
117
|
-
needRestPwd?: boolean;
|
|
118
|
-
needRegister?: boolean;
|
|
119
|
-
}
|
|
120
|
-
export const LoginFormFooter: FC<LoginFormFooterProps>;
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/MfaResetCodeForm/Step1' {
|
|
124
|
-
import { FC } from 'react';
|
|
125
|
-
import { User } from 'authing-js-sdk';
|
|
126
|
-
export const MfaResetStep1: FC<{
|
|
127
|
-
mfaToken: string;
|
|
128
|
-
onSuccess: (user: User & {
|
|
129
|
-
recoveryCode: string;
|
|
130
|
-
}) => void;
|
|
131
|
-
goVerify: () => void;
|
|
132
|
-
onFail?: (error: any) => void;
|
|
133
|
-
}>;
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/MfaResetCodeForm/Step2' {
|
|
137
|
-
import { FC } from 'react';
|
|
138
|
-
export interface MfaResetStep2Props {
|
|
139
|
-
recoverCode: string;
|
|
140
|
-
onFinish: () => void;
|
|
141
|
-
}
|
|
142
|
-
export const MfaResetStep2: FC<MfaResetStep2Props>;
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/MfaResetCodeForm/index' {
|
|
146
|
-
import { FC } from 'react';
|
|
147
|
-
import { MfaResetForm } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
148
|
-
import './style.less';
|
|
149
|
-
export const MfaResetCodeForm: FC<MfaResetForm>;
|
|
150
|
-
|
|
151
|
-
}
|
|
152
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/MfaVerifyForm/index' {
|
|
153
|
-
import { FC } from 'react';
|
|
154
|
-
import { MfaVerifyForm } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
155
|
-
import './style.less';
|
|
156
|
-
export const MFAVerifyForm: FC<MfaVerifyForm>;
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/PasswordLoginForm/index' {
|
|
160
|
-
import { FormInstance } from 'antd/lib/form';
|
|
161
|
-
import React from 'react';
|
|
162
|
-
import { PasswordLoginFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
163
|
-
export const PasswordLoginForm: React.ForwardRefExoticComponent<PasswordLoginFormProps & React.RefAttributes<FormInstance<any>>>;
|
|
164
|
-
|
|
165
|
-
}
|
|
166
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/PhoneCodeLoginForm/index' {
|
|
167
|
-
import React from 'react';
|
|
168
|
-
import { FormInstance } from 'antd/lib/form';
|
|
169
|
-
import { PhoneCodeLoginFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
170
|
-
export const PhoneCodeLoginForm: React.ForwardRefExoticComponent<PhoneCodeLoginFormProps & React.RefAttributes<FormInstance<any>>>;
|
|
171
|
-
|
|
172
|
-
}
|
|
173
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/PhoneRegisterForm/index' {
|
|
174
|
-
import { FormInstance } from 'antd/lib/form';
|
|
175
|
-
import React from 'react';
|
|
176
|
-
import { PhoneRegisterFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
177
|
-
export const PhoneRegisterForm: React.ForwardRefExoticComponent<PhoneRegisterFormProps & React.RefAttributes<FormInstance<any>>>;
|
|
178
|
-
|
|
179
|
-
}
|
|
180
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/QrCodeLoginForm/index' {
|
|
181
|
-
import { FC } from 'react';
|
|
182
|
-
import { QrLoginFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
183
|
-
import './style.less';
|
|
184
|
-
export const QrCodeLoginForm: FC<QrLoginFormProps>;
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/RegisterFormFooter/index' {
|
|
188
|
-
import { FC } from 'react';
|
|
189
|
-
import './style.less';
|
|
190
|
-
export interface RegisterFormFooterProps {
|
|
191
|
-
loading: boolean;
|
|
192
|
-
}
|
|
193
|
-
export const RegisterFormFooter: FC<RegisterFormFooterProps>;
|
|
194
|
-
|
|
195
|
-
}
|
|
196
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/Footer' {
|
|
197
|
-
/// <reference types="react" />
|
|
198
|
-
export const ResetPwdFormFooter: () => JSX.Element;
|
|
199
|
-
|
|
200
|
-
}
|
|
201
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/Step1' {
|
|
202
|
-
import { FC } from 'react';
|
|
203
|
-
import { ResetPasswordStep1Props } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
204
|
-
export const ResetPasswordStep1: FC<ResetPasswordStep1Props>;
|
|
205
|
-
|
|
206
|
-
}
|
|
207
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/Step2' {
|
|
208
|
-
import { FC } from 'react';
|
|
209
|
-
import { ResetPasswordStep2Props } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
210
|
-
export const ResetPasswordStep2: FC<ResetPasswordStep2Props>;
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/Step3' {
|
|
214
|
-
import { FC } from 'react';
|
|
215
|
-
import { ResetPasswordStep3Props } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
216
|
-
export const ResetPasswordStep3: FC<ResetPasswordStep3Props>;
|
|
217
|
-
|
|
218
|
-
}
|
|
219
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/Step4' {
|
|
220
|
-
import { FC } from 'react';
|
|
221
|
-
export const ResetPasswordStep4: FC;
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/index' {
|
|
225
|
-
import { FC } from 'react';
|
|
226
|
-
import { ResetPasswordFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
227
|
-
import './style.less';
|
|
228
|
-
export const ResetPasswordForm: FC<ResetPasswordFormProps>;
|
|
229
|
-
|
|
230
|
-
}
|
|
231
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn' {
|
|
232
|
-
import React, { FC } from 'react';
|
|
233
|
-
export interface SendCodeProps {
|
|
234
|
-
beforeSend: () => Promise<boolean>;
|
|
235
|
-
btnRef?: React.RefObject<HTMLButtonElement>;
|
|
236
|
-
}
|
|
237
|
-
export const SendCodeBtn: FC<SendCodeProps>;
|
|
238
|
-
|
|
239
|
-
}
|
|
240
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SendPhoneCode/index' {
|
|
241
|
-
import { FC } from 'react';
|
|
242
|
-
import { CommonMessage } from 'authing-js-sdk';
|
|
243
|
-
import './style.less';
|
|
244
|
-
export interface SendPhoneCodeProps {
|
|
245
|
-
phone: string;
|
|
246
|
-
onSend?: () => void;
|
|
247
|
-
onError?: (error: CommonMessage) => void;
|
|
248
|
-
}
|
|
249
|
-
export const SendPhoneCode: FC<SendPhoneCodeProps>;
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm' {
|
|
253
|
-
import { FC } from 'react';
|
|
254
|
-
import { MFACheckPhoneFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
255
|
-
import './style.less';
|
|
256
|
-
export const CheckPhoneForm: FC<MFACheckPhoneFormProps>;
|
|
257
|
-
|
|
258
|
-
}
|
|
259
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm' {
|
|
260
|
-
import { FC } from 'react';
|
|
261
|
-
import { SmsMFAVerifyFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
262
|
-
import './style.less';
|
|
263
|
-
export const VerifyCodeForm: FC<SmsMFAVerifyFormProps>;
|
|
264
|
-
|
|
265
|
-
}
|
|
266
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SmsMfaVerifyForm/index' {
|
|
267
|
-
import { FC } from 'react';
|
|
268
|
-
import { SmsMFAFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
269
|
-
export const SmsMfaVerifyForm: FC<SmsMFAFormProps>;
|
|
270
|
-
|
|
271
|
-
}
|
|
272
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SocialAndIdpLogin/index' {
|
|
273
|
-
import { FC } from 'react';
|
|
274
|
-
import { SocialAndIdpLoginProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
275
|
-
import './style.less';
|
|
276
|
-
export const SocialAndIdpLogin: FC<SocialAndIdpLoginProps>;
|
|
277
|
-
|
|
278
|
-
}
|
|
279
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/UploadImage/index' {
|
|
280
|
-
import { FC } from 'react';
|
|
281
|
-
export const UploadImage: FC<{
|
|
282
|
-
value?: string;
|
|
283
|
-
onChange?: (value: string) => void;
|
|
284
|
-
}>;
|
|
285
|
-
|
|
286
|
-
}
|
|
287
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Forms/index' {
|
|
288
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/ADLoginForm/index';
|
|
289
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/index';
|
|
290
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/MfaVerifyForm/index';
|
|
291
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/LdapLoginForm/index';
|
|
292
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/QrCodeLoginForm/index';
|
|
293
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/MfaResetCodeForm/index';
|
|
294
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/EmailRegisterForm/index';
|
|
295
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/PhoneRegisterForm/index';
|
|
296
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/PasswordLoginForm/index';
|
|
297
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/SocialAndIdpLogin/index';
|
|
298
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/PhoneCodeLoginForm/index';
|
|
299
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/SmsMfaVerifyForm/index';
|
|
300
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/Forms/EmailMfaVerifyForm/index';
|
|
301
|
-
|
|
302
|
-
}
|
|
303
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/GuardLayout/index' {
|
|
304
|
-
import React, { FC } from 'react';
|
|
305
|
-
import { UserConfig, Lang } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
306
|
-
import './style.less';
|
|
307
|
-
export const GuardLayout: FC<{
|
|
308
|
-
visible?: boolean;
|
|
309
|
-
className?: string;
|
|
310
|
-
id?: string;
|
|
311
|
-
style?: React.CSSProperties;
|
|
312
|
-
lang?: Lang;
|
|
313
|
-
userConfig: UserConfig;
|
|
314
|
-
}>;
|
|
315
|
-
|
|
316
|
-
}
|
|
317
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/Header/index' {
|
|
318
|
-
import React, { FC } from 'react';
|
|
319
|
-
import './style.less';
|
|
320
|
-
export interface HeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
321
|
-
}
|
|
322
|
-
export const GuardHeader: FC<HeaderProps>;
|
|
323
|
-
|
|
324
|
-
}
|
|
325
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/IconFont/iconfont' {
|
|
326
|
-
export {};
|
|
327
|
-
|
|
328
|
-
}
|
|
329
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/IconFont/index' {
|
|
330
|
-
import React, { FC } from 'react';
|
|
331
|
-
import './iconfont';
|
|
332
|
-
import './style.less';
|
|
333
|
-
export const IconFont: FC<{
|
|
334
|
-
type: string;
|
|
335
|
-
style?: React.CSSProperties;
|
|
336
|
-
className?: string;
|
|
337
|
-
}>;
|
|
338
|
-
|
|
339
|
-
}
|
|
340
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/IconFont/svg' {
|
|
341
|
-
export const svgStr: "<svg><symbol id=\"authing-gitlab\" viewBox=\"0 0 1024 1024\"><path d=\"M958.326 570.912l-50.136-154.3L808.827 110.8c-5.111-15.733-27.372-15.733-32.485 0l-99.365 305.812H347.024L247.656 110.8c-5.11-15.733-27.37-15.733-32.484 0l-99.363 305.812-50.134 154.3c-4.575 14.073 0.437 29.49 12.407 38.19L512 924.358 945.92 609.1a34.16 34.16 0 0 0 12.407-38.19\" ></path></symbol><symbol id=\"authing-yuyan\" viewBox=\"0 0 1024 1024\"><path d=\"M960 511.616A447.808 447.808 0 0 0 512 64C264.576 64 64 264.384 64 511.616a447.808 447.808 0 0 0 392.32 444.16 224.384 224.384 0 0 0 60.352 3.456A447.744 447.744 0 0 0 960 511.616z m-64 6.4a437.952 437.952 0 0 0-8.768-65.472c0.384-7.616 0.512-14.784 0.256-21.504 5.696 26.496 8.512 53.504 8.512 80.64v6.272z m-768-6.4c0-26.56 2.752-53.12 8.192-79.104 16.576 17.728 55.68 17.28 65.216-9.216 17.024 10.176 39.936 12.032 39.936 32.32 0 67.072 2.432 138.944 63.36 140.032 1.664 0 33.92 12.224 49.28 52.096 5.312 13.76 26.304 0 49.344 0 11.52 0 0 19.328 0 61.184 0 41.92 89.92 105.984 89.92 105.984-0.384 27.584 0.768 49.92 3.008 67.712a150.912 150.912 0 0 0-50.816 6.848A383.68 383.68 0 0 1 128 511.616z m478.592 371.968c-2.048-9.728-10.752-15.04-26.624-10.88 12.672-54.016 18.816-84.288 45.312-107.2 38.272-33.216 4.48-70.144-24.576-65.792-23.04 3.456-8.448-28.416-29.056-30.208-20.544-1.728-47.232-42.432-76.736-56.512-15.616-7.424-30.976-27.328-55.104-28.16-21.376-0.832-52.672 18.048-52.672 3.456 0-46.912-4.8-80.448-5.76-93.76-0.768-10.752-7.04-3.648 21.888-2.944 15.744 0.384 8.064-31.616 23.616-32.832 15.296-1.28 51.712 14.272 60.992 8.128 8.64-5.76 63.36 143.744 63.36 24.704 0-14.08-7.296-38.72 0-52.096 28.992-52.864 56.064-95.936 53.632-102.208-1.344-3.584-29.568-6.464-52.16 1.088-7.68 2.56 2.432 14.464-8.512 17.024-41.024 9.472-77.248-11.072-64.64-30.336 13.056-19.84 60.16-8.64 64.256-48.256 2.368-22.72 4.352-49.088 5.632-68.608 55.232 8.64 49.152-71.616-32.896-80.192a384.128 384.128 0 0 1 358.272 257.92 15.552 15.552 0 0 0-9.152-4.16c-24.832-62.016-84.992-17.152-64.64 37.504-109.44 84.16-81.408 142.784-45.44 176.384 18.944 17.728 36.992 44.288 48.704 63.36-12.8 37.248 47.104 22.336 76.672-40.96a384.576 384.576 0 0 1-274.432 265.6z\" ></path></symbol><symbol id=\"authing-anzhuo\" viewBox=\"0 0 1024 1024\"><path d=\"M141.1 331.2c-35 0-63.3 28.3-63.3 63.2v264.7c0 34.9 28.4 63.2 63.3 63.2 35 0 63.3-28.3 63.3-63.2V394.4c0-34.9-28.3-63.2-63.3-63.2zM228.9 753.3c0 37.3 30.3 67.5 67.6 67.5h46.1v140c0 34.9 28.4 63.2 63.3 63.2 35 0 63.3-28.3 63.3-63.2v-140h85.5v140c0 34.9 28.4 63.2 63.3 63.2 35 0 63.3-28.3 63.3-63.2v-140h46.1c37.3 0 67.6-30.2 67.6-67.5V343.1H228.9v410.2zM651.8 93.4L696 13c2.4-4.2 0.8-9.6-3.5-11.9-4.2-2.3-9.6-0.8-11.9 3.5l-44.7 81.2C598.4 69.2 556.4 59.9 512 59.9c-44.4 0-86.4 9.3-123.9 25.8L343.4 4.6c-2.3-4.3-7.7-5.8-11.9-3.5-4.3 2.3-5.9 7.7-3.5 11.9l44.2 80.4c-86.8 44.8-145.5 130-145.5 227.7h570.5c0.1-97.8-58.6-182.9-145.4-227.7zM382.2 218c-13.2 0-23.9-10.7-23.9-23.9s10.7-23.9 23.9-23.9 23.9 10.7 23.9 23.9c-0.1 13.2-10.8 23.9-23.9 23.9z m259.7 0c-13.2 0-23.9-10.7-23.9-23.9s10.7-23.9 23.9-23.9 23.9 10.7 23.9 23.9c-0.1 13.2-10.8 23.9-23.9 23.9zM882.9 331.2c-35 0-63.3 28.3-63.3 63.2v264.7c0 34.9 28.4 63.2 63.3 63.2 35 0 63.3-28.3 63.3-63.2V394.4c0-34.9-28.3-63.2-63.3-63.2z\" ></path></symbol><symbol id=\"authing-lark-public\" viewBox=\"0 0 1024 1024\"><path d=\"M933.875 98.5625L726.53414917 322.64486695a6.61651612 6.61651612 0 0 0-1.64300537 5.81726073 40.54449463 40.54449463 0 0 1-68.92053223 36.37023927L490.72827148 530.02856445l16.29821778 218.30960083L692.5625 933.875z m0 0\" ></path><path d=\"M931.6098938 104.2026062l-205.12023926 221.68377685a6.61651612 6.61651612 0 0 0-1.64300537 5.86175538 39.96688843 39.96688843 0 0 1-68.21026612 35.92611694L494.23675537 530.07388305a3.28601074 3.28601074 0 0 0-0.93273925 2.53125l16.03125 214.40148927 413.61547851-623.97537232 8.88162232-18.74047852z m0 0\" ></path><path d=\"M925.48199463 90.16949463L701.39880372 297.46502685a6.61651612 6.61651612 0 0 1-5.86175538 1.68832398 40.54449463 40.54449463 0 0 0-36.32574462 68.92053222L493.97143555 533.31622315l-218.22143555-16.43005372L90.125 331.43667602z m0 0\" ></path><path d=\"M919.8427124 92.65625l-221.77359008 205.12023926a6.61651612 6.61651612 0 0 1-5.77276612 1.64300537 39.96688843 39.96688843 0 0 0-35.92611695 68.21026612L493.92611695 530.02938843a3.28601074 3.28601074 0 0 1-2.57574463 0.93273925l-214.40148927-16.03125L900.96875 101.31539917l18.74047852-8.88079834z m0 0\" ></path></symbol><symbol id=\"authing-lark-internal\" viewBox=\"0 0 1024 1024\"><path d=\"M933.875 98.5625L726.53414917 322.64486695a6.61651612 6.61651612 0 0 0-1.64300537 5.81726073 40.54449463 40.54449463 0 0 1-68.92053223 36.37023927L490.72827148 530.02856445l16.29821778 218.30960083L692.5625 933.875z m0 0\" ></path><path d=\"M931.6098938 104.2026062l-205.12023926 221.68377685a6.61651612 6.61651612 0 0 0-1.64300537 5.86175538 39.96688843 39.96688843 0 0 1-68.21026612 35.92611694L494.23675537 530.07388305a3.28601074 3.28601074 0 0 0-0.93273925 2.53125l16.03125 214.40148927 413.61547851-623.97537232 8.88162232-18.74047852z m0 0\" ></path><path d=\"M925.48199463 90.16949463L701.39880372 297.46502685a6.61651612 6.61651612 0 0 1-5.86175538 1.68832398 40.54449463 40.54449463 0 0 0-36.32574462 68.92053222L493.97143555 533.31622315l-218.22143555-16.43005372L90.125 331.43667602z m0 0\" ></path><path d=\"M919.8427124 92.65625l-221.77359008 205.12023926a6.61651612 6.61651612 0 0 1-5.77276612 1.64300537 39.96688843 39.96688843 0 0 0-35.92611695 68.21026612L493.92611695 530.02938843a3.28601074 3.28601074 0 0 1-2.57574463 0.93273925l-214.40148927-16.03125L900.96875 101.31539917l18.74047852-8.88079834z m0 0\" ></path></symbol><symbol id=\"authing-guanbi7-01copy_1\" viewBox=\"0 0 1024 1024\"><path d=\"M0.00007 512.306485a511.999485 511.999485 0 0 1 1023.99797-0.512v0.512a510.974486 510.974486 0 0 1-511.999485 511.691485C228.86384 1023.99797 0.00007 794.725201 0.00007 512.306485z m546.200451 0l178.89282-178.78982a23.244977 23.244977 0 0 0 0-33.075967l-1.126999-1.023999a23.244977 23.244977 0 0 0-33.176967 0L511.999555 478.514519l-178.78982-179.19982a23.244977 23.244977 0 0 0-33.177967 0l-1.023999 1.023999a23.244977 23.244977 0 0 0 0 33.074967l178.78982 179.199819-178.89282 178.789821a23.244977 23.244977 0 0 0 0 33.177966l1.126999 1.023999a23.244977 23.244977 0 0 0 33.176967 0L511.999555 547.12245 690.789375 725.80927a23.244977 23.244977 0 0 0 33.177967 0l1.023999-1.023999a23.244977 23.244977 0 0 0 0-33.176967l-178.78982-179.199819z\" ></path></symbol><symbol id=\"authing-guanbi\" viewBox=\"0 0 1024 1024\"><path d=\"M583.168 523.776L958.464 148.48c18.944-18.944 18.944-50.176 0-69.12l-2.048-2.048c-18.944-18.944-50.176-18.944-69.12 0L512 453.12 136.704 77.312c-18.944-18.944-50.176-18.944-69.12 0l-2.048 2.048c-19.456 18.944-19.456 50.176 0 69.12l375.296 375.296L65.536 899.072c-18.944 18.944-18.944 50.176 0 69.12l2.048 2.048c18.944 18.944 50.176 18.944 69.12 0L512 594.944 887.296 970.24c18.944 18.944 50.176 18.944 69.12 0l2.048-2.048c18.944-18.944 18.944-50.176 0-69.12L583.168 523.776z\" ></path></symbol><symbol id=\"authing-apple-web\" viewBox=\"0 0 1024 1024\"><path d=\"M797.3 656c24.6 34.8 52.8 57.3 84.6 67.5-13.8 42.6-35.7 87-65.7 133.2-46.2 69.6-91.8 104.4-136.8 104.4-16.8 0-41.7-5.7-74.7-17.1-30.6-11.4-57.3-17.1-80.1-17.1-22.8 0-48 6-75.6 18-28.8 11.4-52.5 17.1-71.1 17.1-54 0-107.1-45.9-159.3-137.7-52.2-90.6-78.3-179.7-78.3-267.3 0-81 19.8-147.3 59.4-198.9 40.8-51.6 91.2-77.4 151.2-77.4 13.2 0 27.9 1.65 44.1 4.95 16.2 3.3 33 9.45 50.4 18.45 18.6 10.2 33.9 17.25 45.9 21.15 12 3.9 21.3 5.85 27.9 5.85 7.8 0 19.8-1.8 36-5.4a166.088 166.088 0 0 0 48.6-19.8 366.113 366.113 0 0 1 45-21.6c12.6-4.8 25.5-7.2 38.7-7.2 42 0 79.8 11.4 113.4 34.2 18 12 36.3 29.7 54.9 53.1-27.6 24-47.7 45-60.3 63-23.4 33.6-35.1 70.2-35.1 109.8 0 43.8 12.3 83.4 36.9 118.8zM616.4 235.7c-21 19.8-40.2 32.7-57.6 38.7-6 1.8-13.65 3.45-22.95 4.95-9.3 1.5-19.95 2.85-31.95 4.05 0.6-52.8 14.4-98.4 41.4-136.8 27-38.4 71.4-64.8 133.2-79.2 1.2 6 2.1 10.2 2.7 12.6v9.9c0 21.6-5.1 45.9-15.3 72.9a221.625 221.625 0 0 1-49.5 72.9z\" ></path></symbol><symbol id=\"authing-google\" viewBox=\"0 0 1024 1024\"><path d=\"M1000 523.6c0 283-193.8 484.4-480 484.4-274.4 0-496-221.6-496-496S245.6 16 520 16c133.6 0 246 49 332.6 129.8l-135 129.8c-176.6-170.4-505-42.4-505 236.4 0 173 138.2 313.2 307.4 313.2 196.4 0 270-140.8 281.6-213.8H520V440.8h472.2c4.6 25.4 7.8 49.8 7.8 82.8z\" ></path></symbol><symbol id=\"authing-dingtalk\" viewBox=\"0 0 1024 1024\"><path d=\"M905.857912 382.800144a192.415957 192.415957 0 0 1-12.101998 31.649993h0.186l-0.744 1.257c-35.140992 76.657983-126.881972 226.998949-126.881971 226.998949s-0.093-0.373-0.466-0.93l-26.856994 47.567989h129.301971L621.375975 1024l56.039988-227.649949H575.715986l35.326992-150.525966a1436.834677 1436.834677 0 0 0-102.397977 29.789993s-54.130988 32.393993-155.923965-62.137986c0 0-68.699985-61.672986-28.857994-77.079982 16.941996-6.560999 82.197982-14.892997 133.53597-21.967996 69.444984-9.494998 112.172975-14.614997 112.172975-14.614996s-214.106952 3.257999-264.83994-4.886999c-50.732989-8.099998-115.104974-94.484979-128.834972-170.353962 0 0-21.223995-41.702991 45.65999-21.968995 66.838985 19.734996 343.499923 76.799983 343.499923 76.799983S205.267069 266.95017 181.250074 239.487176c-23.922995-27.459994-70.374984-149.732966-64.324985-224.901949 0 0 2.606999-18.757996 21.457995-13.729997 0 0 266.00294 123.946972 447.852899 191.762957 181.896959 67.815985 340.009924 102.398977 319.622929 190.181957z\" ></path></symbol><symbol id=\"authing-apple\" viewBox=\"0 0 1024 1024\"><path d=\"M797.3 656c24.6 34.8 52.8 57.3 84.6 67.5-13.8 42.6-35.7 87-65.7 133.2-46.2 69.6-91.8 104.4-136.8 104.4-16.8 0-41.7-5.7-74.7-17.1-30.6-11.4-57.3-17.1-80.1-17.1-22.8 0-48 6-75.6 18-28.8 11.4-52.5 17.1-71.1 17.1-54 0-107.1-45.9-159.3-137.7-52.2-90.6-78.3-179.7-78.3-267.3 0-81 19.8-147.3 59.4-198.9 40.8-51.6 91.2-77.4 151.2-77.4 13.2 0 27.9 1.65 44.1 4.95 16.2 3.3 33 9.45 50.4 18.45 18.6 10.2 33.9 17.25 45.9 21.15 12 3.9 21.3 5.85 27.9 5.85 7.8 0 19.8-1.8 36-5.4a166.088 166.088 0 0 0 48.6-19.8 366.113 366.113 0 0 1 45-21.6c12.6-4.8 25.5-7.2 38.7-7.2 42 0 79.8 11.4 113.4 34.2 18 12 36.3 29.7 54.9 53.1-27.6 24-47.7 45-60.3 63-23.4 33.6-35.1 70.2-35.1 109.8 0 43.8 12.3 83.4 36.9 118.8zM616.4 235.7c-21 19.8-40.2 32.7-57.6 38.7-6 1.8-13.65 3.45-22.95 4.95-9.3 1.5-19.95 2.85-31.95 4.05 0.6-52.8 14.4-98.4 41.4-136.8 27-38.4 71.4-64.8 133.2-79.2 1.2 6 2.1 10.2 2.7 12.6v9.9c0 21.6-5.1 45.9-15.3 72.9a221.625 221.625 0 0 1-49.5 72.9z\" ></path></symbol><symbol id=\"authing-alipay-web\" viewBox=\"0 0 1024 1024\"><path d=\"M427.154 210.262l-1.819 59.431H185.792v45.481h242.573v78.84H228.24v43.057l203.153-1.823 203.76-1.818-3.641 14.553c-9.094 35.177-47.907 129.173-55.183 132.196-4.244 1.216-33.961-5.458-67.316-15.16-101.276-30.924-151.61-40.023-220.136-40.023-69.74 0.603-115.217 13.342-158.886 44.27-84.897 60.647-91.57 179.506-12.735 245.602 83.687 70.348 220.739 77.017 345.06 16.375 44.267-21.225 123.71-78.84 150.39-108.553l10.922-12.736 34.57 16.98c34.568 17.586 248.03 116.437 284.413 131.598l19.403 8.49V711.17l-52.762-13.95c-47.907-12.74-170.406-50.94-209.826-66.105l-15.16-6.066 20.012-41.238c21.231-42.444 63.68-162.522 63.68-180.108 0-8.491-12.128-9.702-106.128-9.702H555.71v-78.827h254.704v-40.022c0-1.817-57.614-3.032-127.353-2.425l-127.347 0.602V151.437H428.967l-1.813 58.825z m-23.657 395.392c31.535 10.922 73.382 27.896 92.786 38.206l35.167 18.805-19.404 24.255c-10.913 13.342-35.775 36.387-56.399 51.548-69.133 51.542-133.41 71.553-215.887 66.703-86.112-4.852-132.201-40.023-137.66-105.517-3.64-40.63 5.459-63.675 33.359-84.901 35.172-26.685 63.67-32.742 141.296-30.924 59.431 1.814 78.232 5.449 126.742 21.825z\" ></path></symbol><symbol id=\"authing-wechat-miniprogram-app-launch\" viewBox=\"0 0 1126 1024\"><path d=\"M961.876 262.606C900.851 134.702 747.238 80.676 619.77 141.425c-69.45 33.34-113.232 90.332-130.04 168.839-15.583 71.308-6.328 150.685 2.926 211.869 12.22 78.071 12.656 135.459 1.7 176.393-9.69 36.306-29.464 59.957-61.46 75.54a135.814 135.814 0 0 1-104.372 5.102 137.634 137.634 0 0 1-77.835-69.647 136.764 136.764 0 0 1 64.388-181.93c14.317-7.12 25.668-19.38 30.73-34.607 5.023-15.187 4.628-31.244-2.136-45.996a60.511 60.511 0 0 0-34.487-30.81 61.54 61.54 0 0 0-45.878 2.136 256.284 256.284 0 0 0-131.86 145.98 257.233 257.233 0 0 0 10.284 196.72 256.403 256.403 0 0 0 231.802 146.494 263.007 263.007 0 0 0 110.265-24.916c69.41-33.341 113.192-89.462 130.04-167.97 15.149-70.913 6.328-150.29-2.966-210.603-12.22-78.942-12.656-136.764-1.701-177.698 9.69-36.307 29.465-60.354 62.292-75.54a136.962 136.962 0 0 1 182.205 64.585 136.764 136.764 0 0 1-64.387 181.93 60.511 60.511 0 0 0-28.16 80.167c6.724 14.753 19.34 25.708 34.053 30.81 15.148 5.063 31.166 4.628 45.877-2.135 127.51-62.45 181.378-216.101 120.786-343.531z\" ></path></symbol><symbol id=\"authing-qq\" viewBox=\"0 0 1024 1024\"><path d=\"M821.295 699.385a275.463 275.463 0 0 1-57.3 90.76c54.54 16.634 41.202 45.496 41.202 45.496 24.223 13.299 22.69 99.729-111.381 98.195-89.38-0.996-127.248-26.062-142.695-42.735-11.498 1.15-23.035 1.802-34.61 1.84-14.296 0-28.286-1.073-42.084-2.645-14.91 16.634-52.586 42.544-143.308 43.54-133.879 1.534-135.412-84.895-111.15-98.195 0 0-14.642-31.046 47.142-47.335a272.511 272.511 0 0 1-58.794-98.311c-56.035 99.537-83.057 33.575-79.033-42.66 3.604-67.687 63.241-144.61 78.726-163.43a60.98 60.98 0 0 1-4.6-22.804c0-16.482 6.593-31.506 17.363-42.775a44.844 44.844 0 0 1 20.045-46.223c-0.076-2.414-0.306-4.753-0.306-7.206 0-151.394 123.569-274.235 275.96-274.235 152.469 0 275.961 122.802 275.961 274.235 0 4.6-0.268 9.122-0.498 13.645 10.425 10.617 14.947 25.68 11.998 40.283 10.616 11.192 17.36 25.871 17.36 42.276 0 8.125-1.723 15.829-4.598 22.997 15.56 19.163 74.816 96.01 78.38 163.698 3.91 74.164-21.31 138.67-73.78 51.589z\" ></path></symbol><symbol id=\"authing-wechat-mobile\" viewBox=\"0 0 1239 1024\"><path d=\"M745.256 511.245c-21.665 0-43.385 20.373-43.385 45.595 0 20.373 21.72 40.96 43.385 40.96 32.553 0 55.835-20.587 55.835-40.96 0-25.222-23.282-45.595-55.835-45.595M602.705 298.9c34.115 0 55.78-22.097 55.78-55.08 0-34.655-21.665-55.027-55.78-55.027-32.499 0-63.488 20.372-63.488 54.973 0 33.091 30.99 55.08 63.488 55.08M440.05 756.574c-57.344 0-99.167-9.431-153.439-25.169l-156.456 80.196 44.948-135.222C65.051 597.747 0 498.58 0 377.479 0 163.57 198.333 0 440.05 0c213.8 0 404.427 128.97 441.56 311.458a211.106 211.106 0 0 0-41.822-4.743c-210.729 0-373.383 160.498-373.383 353.927 0 33.037 4.635 62.895 12.396 94.37-12.396 1.616-26.409 1.616-38.804 1.616m646.198 154.14L1117.13 1024l-117.76-67.638c-44.894 9.378-88.28 23.606-133.228 23.606-207.656 0-371.873-144.761-371.873-324.07 0-179.253 164.217-323.96 371.873-323.96 196.77 0 373.437 144.707 373.437 323.907 0 100.783-66.614 190.356-153.384 254.922M295.882 188.793c-32.498 0-66.614 20.372-66.614 54.973 0 33.091 34.116 55.08 66.614 55.08 30.99 0 55.781-21.989 55.781-55.026 0-34.655-24.791-55.027-55.78-55.027m692.6 322.452c-23.228 0-43.385 20.373-43.385 45.595 0 20.373 20.157 40.96 43.385 40.96 30.99 0 54.272-20.587 54.272-40.96 0-25.222-23.282-45.595-54.272-45.595\" ></path></symbol><symbol id=\"authing-baidu\" viewBox=\"0 0 1024 1024\"><path d=\"M204.8 537.876c104.422-22.429 90.196-147.185 86.967-174.501-5.149-42.066-54.545-115.55-121.658-109.746-84.48 7.593-96.873 129.6-96.873 129.6C61.891 439.695 100.64 560.262 204.8 537.876zM315.636 754.75c-3.141 8.858-9.861 31.244-4.058 50.75 11.607 43.766 49.658 45.774 49.658 45.774h54.677V717.658H357.44c-26.27 7.855-39.01 28.407-41.847 37.091z m82.779-426.022c57.774 0 104.29-66.37 104.29-148.407C502.705 98.327 456.19 32 398.415 32c-57.47 0-104.16 66.37-104.16 148.32 0 82.036 46.69 148.364 104.29 148.364z m248.334 9.731c77.062 10.037 126.676-72.262 136.407-134.618 10.037-62.138-39.665-134.53-94.21-146.924-54.633-12.523-122.88 75.055-129.077 132.131-7.418 69.818 9.95 139.462 86.88 149.411zM835.564 704.83s-119.259-92.247-188.815-191.913c-94.254-147.01-228.349-87.185-273.164-12.48-44.64 74.75-114.196 122.095-124.014 134.531-10.036 12.393-144 84.655-114.327 216.742 29.76 132 134.269 129.6 134.269 129.6s76.974 7.55 166.342-12.393c89.323-19.898 166.21 4.975 166.21 4.975s208.67 69.818 265.746-64.713C924.8 774.56 835.564 704.83 835.564 704.83zM478.487 905.076H342.865c-58.56-11.738-81.905-51.665-84.916-58.472-2.924-6.982-19.505-39.142-10.69-93.819 25.308-81.905 97.483-87.796 97.483-87.796h72.218v-88.844l61.484 0.96 0.087 327.928z m252.742-0.96H575.011c-60.524-15.534-63.316-58.56-63.316-58.56V672.844l63.36-1.004v155.127c3.84 16.495 24.436 19.637 24.436 19.637h64.32v-173.76h67.418v231.272z m220.975-461.018c0-29.847-24.742-119.65-116.64-119.65-92.073 0-104.335 84.741-104.335 144.654 0 57.163 4.887 137.062 119.127 134.443 114.415-2.443 101.848-129.469 101.848-159.447z\" ></path></symbol><symbol id=\"authing-wechat-pc\" viewBox=\"0 0 1239 1024\"><path d=\"M727.677 511.336c-19.042 0-38.132 17.906-38.132 40.074 0 17.906 19.09 36 38.132 36 28.61 0 49.074-18.094 49.074-36 0-22.168-20.463-40.074-49.074-40.074m-125.29-186.63c29.985 0 49.026-19.422 49.026-48.411 0-30.459-19.041-48.364-49.025-48.364-28.564 0-55.8 17.905-55.8 48.316 0 29.084 27.237 48.41 55.8 48.41m-142.959 402.3c-50.4 0-87.158-8.288-134.858-22.12L187.06 775.32l39.505-118.847c-96.726-69.11-153.9-156.269-153.9-262.705C72.667 205.763 246.984 62 459.43 62c187.91 0 355.454 113.353 388.09 273.742a185.542 185.542 0 0 0-36.757-4.168c-185.211 0-328.17 141.062-328.17 311.068 0 29.037 4.075 55.28 10.896 82.943-10.895 1.42-23.211 1.42-34.105 1.42M1027.33 862.48l27.19 99.52-103.5-59.447c-39.458 8.242-77.59 20.747-117.096 20.747-182.51 0-326.841-127.231-326.841-284.827 0-157.547 144.331-284.73 326.841-284.73 172.943 0 328.216 127.183 328.216 284.683 0 88.58-58.547 167.305-134.81 224.053M332.72 227.93c-28.563 0-58.548 17.905-58.548 48.316 0 29.084 29.985 48.41 58.547 48.41 27.238 0 49.026-19.326 49.026-48.362 0-30.459-21.788-48.364-49.025-48.364m608.73 283.405c-20.415 0-38.13 17.906-38.13 40.074 0 17.906 17.715 36 38.13 36 27.238 0 47.7-18.094 47.7-36 0-22.168-20.462-40.074-47.7-40.074\" ></path></symbol><symbol id=\"authing-wechat-miniprogram-qrconnec\" viewBox=\"0 0 1126 1024\"><path d=\"M961.876 262.606C900.851 134.702 747.238 80.676 619.77 141.425c-69.45 33.34-113.232 90.332-130.04 168.839-15.583 71.308-6.328 150.685 2.926 211.869 12.22 78.071 12.656 135.459 1.7 176.393-9.69 36.306-29.464 59.957-61.46 75.54a135.814 135.814 0 0 1-104.372 5.102 137.634 137.634 0 0 1-77.835-69.647 136.764 136.764 0 0 1 64.388-181.93c14.317-7.12 25.668-19.38 30.73-34.607 5.023-15.187 4.628-31.244-2.136-45.996a60.511 60.511 0 0 0-34.487-30.81 61.54 61.54 0 0 0-45.878 2.136 256.284 256.284 0 0 0-131.86 145.98 257.233 257.233 0 0 0 10.284 196.72 256.403 256.403 0 0 0 231.802 146.494 263.007 263.007 0 0 0 110.265-24.916c69.41-33.341 113.192-89.462 130.04-167.97 15.149-70.913 6.328-150.29-2.966-210.603-12.22-78.942-12.656-136.764-1.701-177.698 9.69-36.307 29.465-60.354 62.292-75.54a136.962 136.962 0 0 1 182.205 64.585 136.764 136.764 0 0 1-64.387 181.93 60.511 60.511 0 0 0-28.16 80.167c6.724 14.753 19.34 25.708 34.053 30.81 15.148 5.063 31.166 4.628 45.877-2.135 127.51-62.45 181.378-216.101 120.786-343.531z\" ></path></symbol><symbol id=\"authing-wechat-webpage-authorization\" viewBox=\"0 0 1188 1024\"><path d=\"M512 1.896C229.452 1.896 0 229.452 0 512s229.452 510.104 512 510.104S1022.104 794.548 1022.104 512 794.548 1.896 512 1.896z m-91.022 629.57c-26.548 0-49.304-5.688-75.852-11.377l-75.852 37.926 22.756-66.37c-54.993-37.926-87.23-87.23-87.23-147.912 0-104.296 98.607-185.837 218.074-185.837 108.089 0 201.007 64.474 219.97 153.6-7.585 0-13.274-1.896-20.859-1.896-104.296 0-185.837 77.748-185.837 172.563 0 15.17 1.896 30.34 7.585 45.511-7.585 3.793-15.17 3.793-22.755 3.793z m322.37 77.749l17.067 54.992-58.785-34.133c-22.756 5.689-43.615 11.378-66.37 11.378-104.297 0-185.838-70.163-185.838-157.393S530.963 424.77 635.26 424.77c98.608 0 185.837 70.163 185.837 159.29 0 47.407-32.237 91.021-77.748 125.155z\" fill=\"#46BB36\" ></path><path d=\"M318.578 379.26c0 17.066 13.274 30.34 30.34 30.34s30.341-13.274 30.341-30.34-13.274-30.341-30.34-30.341-30.341 13.274-30.341 30.34z m235.14 159.288c0 13.274 11.378 24.652 24.652 24.652 13.274 0 24.652-11.378 24.652-24.652 0-13.274-11.378-24.652-24.652-24.652-13.274-1.896-24.651 9.482-24.651 24.652z m-81.54-159.289c0 17.067 13.274 30.341 30.34 30.341 17.067 0 30.341-13.274 30.341-30.34 0-17.067-13.274-30.341-30.34-30.341-17.067 0-30.341 13.274-30.341 30.34zM675.08 538.55c0 13.273 11.378 24.651 24.652 24.651 13.274 0 24.652-11.378 24.652-24.652 0-13.274-11.378-24.652-24.652-24.652-13.274-1.896-24.652 9.482-24.652 24.652z\" fill=\"#46BB36\" ></path></symbol><symbol id=\"authing-wechat-miniprogram-default\" viewBox=\"0 0 1126 1024\"><path d=\"M961.876 262.606C900.851 134.702 747.238 80.676 619.77 141.425c-69.45 33.34-113.232 90.332-130.04 168.839-15.583 71.308-6.328 150.685 2.926 211.869 12.22 78.071 12.656 135.459 1.7 176.393-9.69 36.306-29.464 59.957-61.46 75.54a135.814 135.814 0 0 1-104.372 5.102 137.634 137.634 0 0 1-77.835-69.647 136.764 136.764 0 0 1 64.388-181.93c14.317-7.12 25.668-19.38 30.73-34.607 5.023-15.187 4.628-31.244-2.136-45.996a60.511 60.511 0 0 0-34.487-30.81 61.54 61.54 0 0 0-45.878 2.136 256.284 256.284 0 0 0-131.86 145.98 257.233 257.233 0 0 0 10.284 196.72 256.403 256.403 0 0 0 231.802 146.494 263.007 263.007 0 0 0 110.265-24.916c69.41-33.341 113.192-89.462 130.04-167.97 15.149-70.913 6.328-150.29-2.966-210.603-12.22-78.942-12.656-136.764-1.701-177.698 9.69-36.307 29.465-60.354 62.292-75.54a136.962 136.962 0 0 1 182.205 64.585 136.764 136.764 0 0 1-64.387 181.93 60.511 60.511 0 0 0-28.16 80.167c6.724 14.753 19.34 25.708 34.053 30.81 15.148 5.063 31.166 4.628 45.877-2.135 127.51-62.45 181.378-216.101 120.786-343.531z\" ></path></symbol><symbol id=\"authing-wechatwork-service-provider-authorization\" viewBox=\"0 0 1182 1024\"><path d=\"M993.598 913.02a7.062 7.062 0 0 1 4.908 2.224c15.678 17.761 37.252 31.073 59.816 35.505 15.713 3.354 26.482 18.873 26.482 36.634 0 19.968-14.706 36.617-32.362 36.617-16.666 0-30.402-14.424-32.361-32.185-4.909-25.53-15.714-47.722-30.42-65.466-0.971-1.112-1.942-3.337-2.931-5.561 0-4.432 2.93-7.768 6.868-7.768zM1024 0a105.931 105.931 0 0 1 105.931 105.949v453.42h-70.62V247.172H70.46v670.88h452.026v70.638H32.84C15.572 988.69 0.829 975.448 0 958.27v-857.9C2.79 44.19 49.346 0.053 105.843 0zM812.138 512c136.651 0 247.172 97.774 247.172 219.224h-60.804c0-101.888-85.663-162.286-182.22-163.045-117.565-0.918-189.686 76.182-193.553 157.184-2.471 51.412 16.42 92.495 61.617 127.47 5.032 4.131 4.184 17.479 3.178 23.658l-2.684 37.34s1.006 0 2.013-1.023l49.982-25.141a16.455 16.455 0 0 1 12.058-1.042c22.104 6.18 37.676 5.509 60.787 5.509 24.117 0 46.857-2.066 64.23-8.087l15.589 55.085a288.662 288.662 0 0 1-78.371 11.317c-25.124 0-49.24-3.09-72.334-9.27l-53.265 26.766c-5.014 2.065-12.059 3.09-18.08 3.09-6.037 0-12.058-2.066-17.09-5.138-10.045-7.221-15.06-19.562-14.053-34.993v-1.041l5.014-42.196c-49.222-40.148-76.358-97.775-76.358-157.484C564.966 609.792 675.486 512 812.138 512z m338.397 330.399c17.655 0 32.362 16.649 32.362 36.634 0 18.856-12.747 34.393-28.443 36.617-22.563 5.544-42.178 17.761-57.874 34.41a21.186 21.186 0 0 1-4.908 3.32c-3.92 0-6.868-3.32-6.868-7.769 0-2.225 0.99-4.431 1.978-5.544 15.678-17.76 27.454-42.178 31.373-67.707 2.948-17.744 16.684-29.961 32.38-29.961z m-141.242-30.261c3.92 0 6.868 3.337 6.868 7.768a9.075 9.075 0 0 1-1.977 5.544c-15.678 17.761-27.454 42.178-31.374 67.708-2.948 17.743-16.684 29.96-32.38 29.96-17.654 0-32.361-16.648-32.361-36.634 0-18.856 12.747-34.392 28.442-36.617 22.564-5.544 42.179-17.743 57.874-34.392 0.971-1.113 2.93-2.225 4.908-3.337z m39.23-70.62c16.667 0 30.402 14.424 32.362 32.185 4.908 25.511 15.713 47.722 30.42 65.465 1.942 1.112 1.942 3.337 2.93 5.561 0 4.432-2.93 7.769-6.867 7.769a7.062 7.062 0 0 1-4.908-2.225c-15.696-17.761-37.253-31.073-59.816-35.504-15.713-3.355-26.483-18.874-26.483-36.635 0-19.968 14.707-36.617 32.362-36.617zM511.912 70.584a53.177 53.177 0 0 0-37.5 15.537 53 53 0 0 0 17.426 86.422 53.407 53.407 0 0 0 58.05-11.582 52.824 52.824 0 0 0 11.388-57.838 53.23 53.23 0 0 0-49.364-32.539z m-176.605 0a53.177 53.177 0 0 0-37.5 15.537 53 53 0 0 0 17.426 86.422 53.407 53.407 0 0 0 58.05-11.582 52.824 52.824 0 0 0 11.388-57.838 53.23 53.23 0 0 0-49.364-32.539z m-176.499 0a53.177 53.177 0 0 0-37.5 15.537 53 53 0 0 0 17.426 86.422 53.407 53.407 0 0 0 58.05-11.582 52.824 52.824 0 0 0 11.388-57.838 53.23 53.23 0 0 0-49.364-32.539z\" ></path></symbol><symbol id=\"authing-wechatwork-corp-qrconnect\" viewBox=\"0 0 1220 1024\"><path d=\"M1077.17 663.237c-29.54-34.659-51.2-77.982-61.047-127.803-3.938-34.659-31.508-62.819-64.985-62.819-35.446 0-64.984 32.493-64.984 71.483 0 34.659 21.661 64.985 53.17 71.484 45.291 8.664 88.614 34.658 120.122 69.316 1.97 2.167 5.908 4.333 9.846 4.333 7.877 0 13.785-6.499 13.785-15.163-1.97-4.333-1.97-8.665-5.908-10.831z m-194.955-26.782c1.97-2.166 3.939-6.498 3.939-10.83 0-8.665-5.908-15.163-13.785-15.163-3.938 2.166-7.877 4.332-9.846 6.498-31.508 32.492-70.892 56.32-116.185 67.15-31.507 4.333-57.107 34.66-57.107 71.484 0 38.99 29.538 71.483 64.984 71.483 31.508 0 59.077-23.828 64.985-58.486 7.877-49.822 31.508-97.477 63.015-132.136z m165.416 243.2c31.507-32.492 70.892-56.32 116.184-67.15 31.508-4.333 57.108-34.659 57.108-71.483 0-38.991-29.538-71.484-64.985-71.484-31.507 0-59.076 23.828-64.984 58.487-7.877 49.821-31.508 97.477-63.016 132.135-1.969 2.166-3.938 6.498-3.938 10.83 0 8.665 5.908 15.164 13.785 15.164 3.938-2.166 7.877-4.332 9.846-6.499z m-76.8 1.379c-45.293-8.665-88.616-34.659-120.123-69.317a14.375 14.375 0 0 0-9.846-4.332c-7.877 0-13.785 6.498-13.785 15.163 1.97 4.332 3.938 8.664 5.908 10.83 29.538 34.659 51.2 77.982 61.046 127.804 3.938 34.658 31.507 62.818 64.984 62.818 35.447 0 64.985-32.492 64.985-71.483 0-34.659-21.662-64.985-53.17-71.483z\" ></path><path d=\"M243.554 810.2s2.048 0 4.096-2.067l101.534-50.708c8.172-4.135 16.345-4.135 24.497-2.067 44.899 12.445 76.544 11.106 123.49 11.106 48.995 0 95.174-4.155 130.502-16.325l31.665 111.065c-51.043 14.533-106.142 22.843-159.232 22.843a571.077 571.077 0 0 1-146.964-18.688l-108.19 53.957c-10.2 4.135-24.497 6.222-36.745 6.222-12.249 0-24.497-4.135-34.698-10.377-20.421-14.514-30.622-39.424-28.574-70.558v-2.068l10.201-85.07C55.099 676.51 0 560.285 0 439.926 0 197.12 224.551 0 502.154 0c277.622 0 502.154 197.14 502.154 442.014h-123.55c0-205.43-174.001-327.208-370.196-328.744-238.808-1.85-385.378 153.6-393.216 316.948-4.982 103.62 33.36 186.466 125.224 257.024 10.2 8.31 8.468 35.19 6.44 47.655\" ></path></symbol><symbol id=\"authing-wechatwork-service-provider-qrconnect\" viewBox=\"0 0 1220 1024\"><path d=\"M1077.17 663.237c-29.54-34.659-51.2-77.982-61.047-127.803-3.938-34.659-31.508-62.819-64.985-62.819-35.446 0-64.984 32.493-64.984 71.483 0 34.659 21.661 64.985 53.17 71.484 45.291 8.664 88.614 34.658 120.122 69.316 1.97 2.167 5.908 4.333 9.846 4.333 7.877 0 13.785-6.499 13.785-15.163-1.97-4.333-1.97-8.665-5.908-10.831z m-194.955-26.782c1.97-2.166 3.939-6.498 3.939-10.83 0-8.665-5.908-15.163-13.785-15.163-3.938 2.166-7.877 4.332-9.846 6.498-31.508 32.492-70.892 56.32-116.185 67.15-31.507 4.333-57.107 34.66-57.107 71.484 0 38.99 29.538 71.483 64.984 71.483 31.508 0 59.077-23.828 64.985-58.486 7.877-49.822 31.508-97.477 63.015-132.136z m165.416 243.2c31.507-32.492 70.892-56.32 116.184-67.15 31.508-4.333 57.108-34.659 57.108-71.483 0-38.991-29.538-71.484-64.985-71.484-31.507 0-59.076 23.828-64.984 58.487-7.877 49.821-31.508 97.477-63.016 132.135-1.969 2.166-3.938 6.498-3.938 10.83 0 8.665 5.908 15.164 13.785 15.164 3.938-2.166 7.877-4.332 9.846-6.499z m-76.8 1.379c-45.293-8.665-88.616-34.659-120.123-69.317a14.375 14.375 0 0 0-9.846-4.332c-7.877 0-13.785 6.498-13.785 15.163 1.97 4.332 3.938 8.664 5.908 10.83 29.538 34.659 51.2 77.982 61.046 127.804 3.938 34.658 31.507 62.818 64.984 62.818 35.447 0 64.985-32.492 64.985-71.483 0-34.659-21.662-64.985-53.17-71.483z\" ></path><path d=\"M243.554 810.2s2.048 0 4.096-2.067l101.534-50.708c8.172-4.135 16.345-4.135 24.497-2.067 44.899 12.445 76.544 11.106 123.49 11.106 48.995 0 95.174-4.155 130.502-16.325l31.665 111.065c-51.043 14.533-106.142 22.843-159.232 22.843a571.077 571.077 0 0 1-146.964-18.688l-108.19 53.957c-10.2 4.135-24.497 6.222-36.745 6.222-12.249 0-24.497-4.135-34.698-10.377-20.421-14.514-30.622-39.424-28.574-70.558v-2.068l10.201-85.07C55.099 676.51 0 560.285 0 439.926 0 197.12 224.551 0 502.154 0c277.622 0 502.154 197.14 502.154 442.014h-123.55c0-205.43-174.001-327.208-370.196-328.744-238.808-1.85-385.378 153.6-393.216 316.948-4.982 103.62 33.36 186.466 125.224 257.024 10.2 8.31 8.468 35.19 6.44 47.655\" ></path></symbol><symbol id=\"authing-weibo\" viewBox=\"0 0 1185 1024\"><path d=\"M891.75 466.973c-17.137-5.012-29.37-7.545-19.616-30.019 19.616-47.477 19.616-90 0-120.017-39.18-57.503-144.538-54.97-264.61-2.48 0 0-39.125 17.517-29.37-12.502 19.615-59.982 17.19-109.992-12.234-140.01-66.127-67.473-240.089 2.532-389.532 154.992C63.7 431.942 0 551.96 0 656.996c0 199.94 252.322 322.49 497.314 322.49 323.354 0 536.55-192.503 538.975-347.496 0-92.533-75.934-142.545-144.539-165.017zM499.794 907C303.79 926.941 134.73 836.94 122.497 704.474c-14.714-129.987 134.73-252.484 330.735-272.532 196.005-19.939 365.01 70.06 377.243 202.527 14.712 129.987-134.73 252.484-330.68 272.532z m19.563-375.034c-93.072-25.005-198.43 22.527-240.088 107.515-41.605 87.52 0 182.478 93.125 212.496 97.975 32.497 213.142-17.515 252.322-109.995 39.179-92.53-9.81-185.01-105.359-210.016z m-70.976 219.987c-19.616 30.018-61.22 45-90.645 30.018-29.372-14.982-39.18-50.012-19.617-82.455 19.616-30.07 58.796-42.574 88.22-30.07 29.372 15.034 39.18 50.01 22.042 82.507z m63.7-82.455c-7.329 12.45-22.095 17.461-34.275 12.45-12.287-4.958-17.192-17.462-9.809-29.964 4.85-12.503 19.564-17.515 31.797-12.503 12.288 5.011 17.191 17.515 12.288 29.964z m431.137-327.555a83.964 83.964 0 0 0-14.66-74.963c-19.616-19.994-46.562-30.019-71.029-22.527-22.096 5.012-41.658-9.97-46.563-30.018a40.258 40.258 0 0 1 29.426-47.479c51.412-10.023 107.783 5.012 144.537 47.479a157.904 157.904 0 0 1 31.797 152.514c-7.33 19.994-29.372 32.497-48.988 25.006-19.563-5.012-31.796-27.485-24.466-50.012z m227.908 75.018a44.838 44.838 0 0 1-56.37 30.019c-24.521-7.546-36.755-35.032-29.426-57.504a226.13 226.13 0 0 0-46.508-222.52c-56.372-62.515-137.21-87.52-213.144-70.006a45.108 45.108 0 0 1-53.892-35.029c-4.904-24.952 9.754-49.958 34.276-54.97a312.789 312.789 0 0 1 298.884 97.544c78.413 87.467 98.03 207.485 66.18 312.466z\" ></path></symbol><symbol id=\"authing-github\" viewBox=\"0 0 1024 1024\"><path d=\"M51.57 672.155c3.72-6.605 52.236-29.956 126.057 57.307 0.186 0 0.465 0.14 0.79 0.419 5.21 4.326 29.538 39.26 43.307 51.865 58.935 53.307 147.083 12.001 157.13 6.047 4.652-38.282 19.025-68.378 43.027-90.52a290.072 290.072 0 0 1-64.052-10.047 203.832 203.832 0 0 1-61.029-18.048 168.852 168.852 0 0 1-58.052-29.165c-17.35-9.35-33.677-23.444-49.027-42.237a205.367 205.367 0 0 1-40.004-58.284c-10.698-20.095-19.071-45.911-25.072-77.356-6-28.84-8.977-62.005-8.977-99.543 0-68.983 22.979-129.64 69.076-181.924-2.745-5.395-33.026-77.17 7.907-179.969 55.447-1.954 115.173 23.49 185.226 68.332A925.198 925.198 0 0 1 547.008 46.89c56.936 1.907 113.592 9.303 169.132 22.142C739.49 54.984 821.637-1.3 900.249 2.747c37.678 89.45 11.024 170.154 6.977 178.9 46.05 46.236 69.076 104.846 69.076 175.875v6.047c0.326 5.024 0.512 10.094 0.512 15.118 0 27.77-3.163 55.958-9.536 84.473a349.24 349.24 0 0 1-25.025 77.402 282.816 282.816 0 0 1-39.027 57.26 367.242 367.242 0 0 1-49.028 41.26c-18.42 10.56-37.445 20.002-57.074 28.142a1890.865 1890.865 0 0 1-61.076 18.048 1650.986 1650.986 0 0 0-64.052 10.048c30.05 25.49 45.4 66.982 46.05 124.662a3242.148 3242.148 0 0 0-0.464 55.54c0 19.583 0.186 40.282 0.465 62.052-0.651 21.444-0.93 37.724-0.93 48.795 0 11.07 0.279 16.931 0.93 17.536a677.27 677.27 0 0 1-159.084 20.048h-14.978c-54.424 0-107.452-6.651-159.177-20.14-0.698-0.652-0.977-39.214-0.977-115.546-20.7 4.652-157.037 31.538-217.508-69.913-19.304-30.05-35.351-103.405-100.753-136.152-6.93 18.048-28.84 2.652-14-10.047z\" ></path></symbol></svg>";
|
|
342
|
-
|
|
343
|
-
}
|
|
344
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/LoginLayout/index' {
|
|
345
|
-
/// <reference types="react" />
|
|
346
|
-
import './style.less';
|
|
347
|
-
export const LoginLayout: () => JSX.Element;
|
|
348
|
-
|
|
349
|
-
}
|
|
350
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/MfaLayout/Steps' {
|
|
351
|
-
export enum Steps {
|
|
352
|
-
Verify = 0,
|
|
353
|
-
Reset = 1
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
}
|
|
357
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/MfaLayout/index' {
|
|
358
|
-
import { FC } from 'react';
|
|
359
|
-
import './style.less';
|
|
360
|
-
export interface MfaLayoutProps {
|
|
361
|
-
}
|
|
362
|
-
export const MfaLayout: FC<MfaLayoutProps>;
|
|
363
|
-
|
|
364
|
-
}
|
|
365
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/RegisterLayout/index' {
|
|
366
|
-
import { FC } from 'react';
|
|
367
|
-
export const RegisterLayout: FC;
|
|
368
|
-
|
|
369
|
-
}
|
|
370
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/ResetPwdLayout/index' {
|
|
371
|
-
/// <reference types="react" />
|
|
372
|
-
export const ResetPwdLayout: () => JSX.Element;
|
|
373
|
-
|
|
374
|
-
}
|
|
375
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/ToggleLang/index' {
|
|
376
|
-
import { FC } from 'react';
|
|
377
|
-
export const ToggleLang: FC;
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/api/appConfig' {
|
|
381
|
-
import { Lang, LoginMethods, Protocol, RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
382
|
-
import { IAzureAdConnectionConfig, ICasConnectionConfig, IOAuthConnectionConfig, ISamlConnectionConfig, OIDCConnectionConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig';
|
|
383
|
-
import { PasswordStrength } from '@authing/react-ui-components/components/_utils/index';
|
|
384
|
-
export enum ApplicationMfaType {
|
|
385
|
-
SMS = "SMS",
|
|
386
|
-
EMAIL = "EMAIL"
|
|
387
|
-
}
|
|
388
|
-
export const ApplicationMfaTypeLabel: () => Record<ApplicationMfaType, string>;
|
|
389
|
-
export type QrcodeTabsSettings = Record<LoginMethods, Array<{
|
|
390
|
-
id: string;
|
|
391
|
-
title: string;
|
|
392
|
-
isDefault?: boolean;
|
|
393
|
-
}>>;
|
|
394
|
-
export interface OidcClientMetadata {
|
|
395
|
-
grant_types: string[];
|
|
396
|
-
client_id: string;
|
|
397
|
-
redirect_uris: string[];
|
|
398
|
-
scope: string;
|
|
399
|
-
response_types: ResponseType[];
|
|
400
|
-
}
|
|
401
|
-
export interface InternalExtendsField {
|
|
402
|
-
type: 'internal';
|
|
403
|
-
name: string;
|
|
404
|
-
label: string;
|
|
405
|
-
inputType: string;
|
|
406
|
-
required: boolean;
|
|
407
|
-
validateRules: any[];
|
|
408
|
-
}
|
|
409
|
-
export interface UserExtendsField {
|
|
410
|
-
type: 'user';
|
|
411
|
-
id: string;
|
|
412
|
-
name: string;
|
|
413
|
-
label: string;
|
|
414
|
-
inputType: string;
|
|
415
|
-
required: boolean;
|
|
416
|
-
validateRules: any[];
|
|
417
|
-
}
|
|
418
|
-
export type ExtendsField = InternalExtendsField | UserExtendsField;
|
|
419
|
-
export interface ApplicationPasswordTabConfig {
|
|
420
|
-
enabledLoginMethods?: PasswordLoginMethods[];
|
|
421
|
-
}
|
|
422
|
-
export interface ApplicationVerifyCodeTabConfig {
|
|
423
|
-
enabledLoginMethods: VerifyLoginMethods[];
|
|
424
|
-
}
|
|
425
|
-
export interface Agreement {
|
|
426
|
-
id: number;
|
|
427
|
-
title: string;
|
|
428
|
-
required: boolean;
|
|
429
|
-
lang: Lang;
|
|
430
|
-
availableAt?: number;
|
|
431
|
-
}
|
|
432
|
-
export type PasswordLoginMethods = 'username-password' | 'email-password' | 'phone-password';
|
|
433
|
-
export type VerifyLoginMethods = 'email-code' | 'phone-code';
|
|
434
|
-
export type ComplateFiledsPlace = 'register' | 'login';
|
|
435
|
-
export interface ApplicationConfig {
|
|
436
|
-
id: string;
|
|
437
|
-
allowedOrigins: string[];
|
|
438
|
-
corsWhitelist: string[];
|
|
439
|
-
cdnBase: string;
|
|
440
|
-
userPoolId: string;
|
|
441
|
-
rootUserPoolId: string;
|
|
442
|
-
publicKey: string;
|
|
443
|
-
internationalSmsConfig?: {
|
|
444
|
-
enabled: boolean;
|
|
445
|
-
defaultISOType: string;
|
|
446
|
-
};
|
|
447
|
-
css: string;
|
|
448
|
-
customLoading?: string;
|
|
449
|
-
name: string;
|
|
450
|
-
logo: string;
|
|
451
|
-
description?: string;
|
|
452
|
-
redirectUris: string[];
|
|
453
|
-
registerDisabled: boolean;
|
|
454
|
-
mergeAdAndAccountPasswordLogin: boolean;
|
|
455
|
-
registerTabs: {
|
|
456
|
-
list: string[];
|
|
457
|
-
default: string;
|
|
458
|
-
title: {
|
|
459
|
-
[x: string]: string;
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
registerTabsConfig: {
|
|
463
|
-
list: string[];
|
|
464
|
-
default: string;
|
|
465
|
-
title: {
|
|
466
|
-
[x: string]: string;
|
|
467
|
-
};
|
|
468
|
-
registerTypeConfig: {
|
|
469
|
-
emailRegisterType?: RegisterMethods[];
|
|
470
|
-
phoneRegisterType?: RegisterMethods[];
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
|
-
qrcodeTabsSettings: QrcodeTabsSettings;
|
|
474
|
-
loginTabs: {
|
|
475
|
-
list: string[];
|
|
476
|
-
default: string;
|
|
477
|
-
defaultV2?: string;
|
|
478
|
-
title: {
|
|
479
|
-
[x: string]: string;
|
|
480
|
-
};
|
|
481
|
-
};
|
|
482
|
-
socialConnections: SocialConnectionItem[];
|
|
483
|
-
complateFiledsPlace: ComplateFiledsPlace[];
|
|
484
|
-
extendsFieldsEnabled: boolean;
|
|
485
|
-
extendsFields: ExtendsField[];
|
|
486
|
-
identifier: string;
|
|
487
|
-
requestHostname: string;
|
|
488
|
-
identityProviders: {
|
|
489
|
-
identifier: string;
|
|
490
|
-
protocol: Protocol;
|
|
491
|
-
displayName: string;
|
|
492
|
-
logo: string;
|
|
493
|
-
config: ISamlConnectionConfig | OIDCConnectionConfig | ICasConnectionConfig | IAzureAdConnectionConfig | IOAuthConnectionConfig;
|
|
494
|
-
}[];
|
|
495
|
-
ssoPageComponentDisplay: {
|
|
496
|
-
autoRegisterThenLoginHintInfo: boolean;
|
|
497
|
-
forgetPasswordBtn: boolean;
|
|
498
|
-
idpBtns: boolean;
|
|
499
|
-
loginBtn: boolean;
|
|
500
|
-
loginByPhoneCodeTab: boolean;
|
|
501
|
-
loginByUserPasswordTab: boolean;
|
|
502
|
-
loginMethodNav: boolean;
|
|
503
|
-
phoneCodeInput: boolean;
|
|
504
|
-
registerBtn: boolean;
|
|
505
|
-
registerByEmailTab: boolean;
|
|
506
|
-
registerByPhoneTab: boolean;
|
|
507
|
-
registerMethodNav: boolean;
|
|
508
|
-
socialLoginBtns: boolean;
|
|
509
|
-
userPasswordInput: boolean;
|
|
510
|
-
wxMpScanTab: boolean;
|
|
511
|
-
};
|
|
512
|
-
protocol: Protocol;
|
|
513
|
-
oidcConfig: OidcClientMetadata;
|
|
514
|
-
passwordTabConfig: ApplicationPasswordTabConfig;
|
|
515
|
-
verifyCodeTabConfig?: ApplicationVerifyCodeTabConfig;
|
|
516
|
-
agreementEnabled: boolean;
|
|
517
|
-
agreements: Agreement[];
|
|
518
|
-
customPasswordStrength: any;
|
|
519
|
-
passwordStrength: PasswordStrength;
|
|
520
|
-
verifyCodeLength: number;
|
|
521
|
-
websocket: string;
|
|
522
|
-
welcomeMessage: any;
|
|
523
|
-
skipComplateFileds: boolean;
|
|
524
|
-
selfUnlockStrategy: 'captcha' | 'password-captcha';
|
|
525
|
-
}
|
|
526
|
-
export const fetchAppConfig: (appId: string) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingResponse<ApplicationConfig>>;
|
|
527
|
-
|
|
528
|
-
}
|
|
529
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/api/index' {
|
|
530
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/api/sso';
|
|
531
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/api/appConfig';
|
|
532
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig';
|
|
533
|
-
|
|
534
|
-
}
|
|
535
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/api/sso' {
|
|
536
|
-
import { User } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
537
|
-
export interface SessionData {
|
|
538
|
-
session: null | {
|
|
539
|
-
_id: string;
|
|
540
|
-
cookie: {
|
|
541
|
-
originalMaxAge: number;
|
|
542
|
-
expires: Date;
|
|
543
|
-
secure: boolean;
|
|
544
|
-
httpOnly: boolean;
|
|
545
|
-
path: string;
|
|
546
|
-
sameSite: string;
|
|
547
|
-
};
|
|
548
|
-
appId?: string;
|
|
549
|
-
type: string;
|
|
550
|
-
userId: string;
|
|
551
|
-
};
|
|
552
|
-
userInfo?: User;
|
|
553
|
-
}
|
|
554
|
-
export const trackSession: () => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingResponse<SessionData>>;
|
|
555
|
-
|
|
556
|
-
}
|
|
557
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig' {
|
|
558
|
-
import { Lang, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
559
|
-
import { SocialConnectionProvider } from 'authing-js-sdk';
|
|
560
|
-
export interface OIDCConnectionConfig {
|
|
561
|
-
issuerUrl: string;
|
|
562
|
-
authorizationEdpoint: string;
|
|
563
|
-
responseType: string;
|
|
564
|
-
mode: OIDCConnectionMode;
|
|
565
|
-
clientId: string;
|
|
566
|
-
clientSecret: string;
|
|
567
|
-
scopes: string;
|
|
568
|
-
redirectUri: string;
|
|
569
|
-
}
|
|
570
|
-
export interface IOAuthConnectionConfig {
|
|
571
|
-
authEndPoint: string;
|
|
572
|
-
tokenEndPoint: string;
|
|
573
|
-
scope: string;
|
|
574
|
-
clientId: string;
|
|
575
|
-
clientSecret: string;
|
|
576
|
-
authUrlTemplate: string;
|
|
577
|
-
codeToTokenScript: string;
|
|
578
|
-
tokenToUserInfoScript: string;
|
|
579
|
-
tokenToUserInfoScriptFuncId: string;
|
|
580
|
-
codeToTokenScriptFuncId: string;
|
|
581
|
-
authUrl?: string;
|
|
582
|
-
}
|
|
583
|
-
export interface IAzureAdConnectionConfig {
|
|
584
|
-
microsoftAzureAdDomain: string;
|
|
585
|
-
clientId: string;
|
|
586
|
-
syncUserProfileOnLogin: string;
|
|
587
|
-
emailVerifiedDefault: boolean;
|
|
588
|
-
authorizationUrl: string;
|
|
589
|
-
callbackUrl: string;
|
|
590
|
-
}
|
|
591
|
-
export enum OIDCConnectionMode {
|
|
592
|
-
FRONT_CHANNEL = "FRONT_CHANNEL",
|
|
593
|
-
BACK_CHANNEL = "BACK_CHANNEL"
|
|
594
|
-
}
|
|
595
|
-
export interface ISamlConnectionConfig {
|
|
596
|
-
signInEndPoint: string;
|
|
597
|
-
samlRequest?: string;
|
|
598
|
-
samlIdpCert: string;
|
|
599
|
-
samlSpCert: string;
|
|
600
|
-
samlSpKey: string;
|
|
601
|
-
signOutEndPoint: string;
|
|
602
|
-
signSamlRequest: boolean;
|
|
603
|
-
signatureAlgorithm: string;
|
|
604
|
-
digestAlgorithm: string;
|
|
605
|
-
protocolBinding: string;
|
|
606
|
-
}
|
|
607
|
-
export interface ICasConnectionConfig {
|
|
608
|
-
casConnectionLoginUrl: string;
|
|
609
|
-
}
|
|
610
|
-
export interface SocialConnectionItem {
|
|
611
|
-
name: string;
|
|
612
|
-
name_en: string;
|
|
613
|
-
displayName: string;
|
|
614
|
-
logo: string;
|
|
615
|
-
description: string;
|
|
616
|
-
identifier: string;
|
|
617
|
-
provider: SocialConnectionProvider;
|
|
618
|
-
authorizationUrl: string;
|
|
619
|
-
tooltip: Record<Lang, string>;
|
|
620
|
-
}
|
|
621
|
-
export interface EnterpriseConnectionItem {
|
|
622
|
-
id: string;
|
|
623
|
-
createdAt: Date;
|
|
624
|
-
updatedAt: Date;
|
|
625
|
-
userPoolId: string;
|
|
626
|
-
protocol: Protocol;
|
|
627
|
-
identifier: string;
|
|
628
|
-
displayName: string;
|
|
629
|
-
logo: string;
|
|
630
|
-
enabled: boolean;
|
|
631
|
-
config: OIDCConnectionConfig | ISamlConnectionConfig | ICasConnectionConfig | IAzureAdConnectionConfig | IOAuthConnectionConfig;
|
|
632
|
-
}
|
|
633
|
-
export interface UserPoolConfig {
|
|
634
|
-
name: string;
|
|
635
|
-
logo: string;
|
|
636
|
-
socialConnections: SocialConnectionItem[];
|
|
637
|
-
enterpriseConnections: EnterpriseConnectionItem[];
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
}
|
|
641
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/constants' {
|
|
642
|
-
import { UserConfig, LoginMethods, LocalesConfig } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
643
|
-
export const OTP_MFA_CODE = 1635;
|
|
644
|
-
export const APP_MFA_CODE = 1636;
|
|
645
|
-
export const NEED_CAPTCHA = 2000;
|
|
646
|
-
export const LOGIN_METHODS_MAP: () => {
|
|
647
|
-
password: string;
|
|
648
|
-
"phone-code": string;
|
|
649
|
-
"app-qrcode": string;
|
|
650
|
-
"wechat-miniprogram-qrcode": string;
|
|
651
|
-
ldap: string;
|
|
652
|
-
ad: string;
|
|
653
|
-
"wechatmp-qrcode": string;
|
|
654
|
-
};
|
|
655
|
-
export const REGISTER_METHODS_MAP: any;
|
|
656
|
-
export const HIDE_SOCIALS: string[];
|
|
657
|
-
export const HIDE_SOCIALS_SHOWIN_ENTERPRISE: string[];
|
|
658
|
-
export enum ApplicationMfaType {
|
|
659
|
-
SMS = "SMS",
|
|
660
|
-
EMAIL = "EMAIL"
|
|
661
|
-
}
|
|
662
|
-
export const defaultGuardConfig: Partial<UserConfig>;
|
|
663
|
-
export const defaultLocalesConfig: LocalesConfig;
|
|
664
|
-
export const defaultHeaders: {
|
|
665
|
-
'userpool-id': string;
|
|
666
|
-
'app-id': string;
|
|
667
|
-
'tenant-id': string;
|
|
668
|
-
'sdk-version': string;
|
|
669
|
-
'request-from': string;
|
|
670
|
-
lang: string;
|
|
671
|
-
};
|
|
672
|
-
|
|
673
|
-
}
|
|
674
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/hooks/index' {
|
|
675
|
-
import { AuthenticationClient, AuthenticationClientOptions } from 'authing-js-sdk';
|
|
676
|
-
export interface AuthClientConfig extends AuthenticationClientOptions {
|
|
677
|
-
/**
|
|
678
|
-
* @deprecated 使用 appHost
|
|
679
|
-
*/
|
|
680
|
-
appDomain?: string;
|
|
681
|
-
/**
|
|
682
|
-
* @deprecated 无需传入
|
|
683
|
-
*/
|
|
684
|
-
isSSO?: boolean;
|
|
685
|
-
/**
|
|
686
|
-
* @deprecated 使用 appHost
|
|
687
|
-
*/
|
|
688
|
-
host?: string;
|
|
689
|
-
}
|
|
690
|
-
export const initAuthClient: (config: AuthClientConfig) => AuthenticationClient;
|
|
691
|
-
export const useAuthing: (config?: AuthClientConfig | undefined) => {
|
|
692
|
-
authClient: AuthenticationClient | null;
|
|
693
|
-
};
|
|
694
|
-
export const getAuthClient: (config?: AuthClientConfig | undefined) => AuthenticationClient | null;
|
|
695
|
-
|
|
696
|
-
}
|
|
697
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/hooks/useScreenSize' {
|
|
698
|
-
export enum ScreenSize {
|
|
699
|
-
Mobile = "mobile",
|
|
700
|
-
Desktop = "desktop"
|
|
701
|
-
}
|
|
702
|
-
export const SCREEN_SIZE_RANG: {
|
|
703
|
-
size: ScreenSize;
|
|
704
|
-
range: [number, number];
|
|
705
|
-
}[];
|
|
706
|
-
export const getScreenSize: () => ScreenSize | ScreenSize.Desktop;
|
|
707
|
-
export const useScreenSize: () => ScreenSize[];
|
|
708
|
-
|
|
709
|
-
}
|
|
710
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/index' {
|
|
711
|
-
import { FC } from 'react';
|
|
712
|
-
import { UserConfig, GuardEventsHandler } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
|
|
713
|
-
import './style.less';
|
|
714
|
-
interface AuthingGuardProps extends GuardEventsHandler {
|
|
715
|
-
appId: string;
|
|
716
|
-
tenantId?: string;
|
|
717
|
-
config?: UserConfig;
|
|
718
|
-
visible?: boolean;
|
|
719
|
-
className?: string;
|
|
720
|
-
id?: string;
|
|
721
|
-
}
|
|
722
|
-
export const AuthingGuard: FC<AuthingGuardProps>;
|
|
723
|
-
export {};
|
|
724
|
-
|
|
725
|
-
}
|
|
726
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/types/Forms' {
|
|
727
|
-
/// <reference types="react" />
|
|
728
|
-
import { User } from 'authing-js-sdk';
|
|
729
|
-
import { LoginMethods } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
|
|
730
|
-
import { ResetPwdMethods } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
|
|
731
|
-
export interface BaseFormProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
732
|
-
onSuccess?: (user: User) => void;
|
|
733
|
-
onFail?: (error: any) => void;
|
|
734
|
-
}
|
|
735
|
-
export interface CompleteUserInfoFormProps extends BaseFormProps {
|
|
736
|
-
}
|
|
737
|
-
export interface PasswordLoginFormProps extends BaseFormProps {
|
|
738
|
-
onValidateFail?: (error: any) => void;
|
|
739
|
-
}
|
|
740
|
-
export interface ADLoginFormProps extends BaseFormProps {
|
|
741
|
-
onValidateFail?: (error: any) => void;
|
|
742
|
-
}
|
|
743
|
-
export interface PhoneCodeLoginFormProps extends BaseFormProps {
|
|
744
|
-
onValidateFail?: (error: any) => void;
|
|
745
|
-
}
|
|
746
|
-
export interface LdapLoginFormProps extends BaseFormProps {
|
|
747
|
-
onValidateFail?: (error: any) => void;
|
|
748
|
-
}
|
|
749
|
-
export interface QrLoginFormProps extends BaseFormProps {
|
|
750
|
-
type: LoginMethods.AppQr | LoginMethods.WxMinQr | LoginMethods.WechatMpQrcode;
|
|
751
|
-
idpId?: string;
|
|
752
|
-
}
|
|
753
|
-
export interface EmailRegisterFormProps extends BaseFormProps {
|
|
754
|
-
onValidateFail?: (error: any) => void;
|
|
755
|
-
}
|
|
756
|
-
export interface PhoneRegisterFormProps extends BaseFormProps {
|
|
757
|
-
onValidateFail?: (error: any) => void;
|
|
758
|
-
}
|
|
759
|
-
export interface ResetPasswordFormProps {
|
|
760
|
-
onSuccess?: () => void;
|
|
761
|
-
onFail?: (error: any) => void;
|
|
762
|
-
}
|
|
763
|
-
export interface ResetPasswordStep1Props {
|
|
764
|
-
onSuccess: (resetMethod: ResetPwdMethods, val: string) => void;
|
|
765
|
-
}
|
|
766
|
-
export interface ResetPasswordStep2Props {
|
|
767
|
-
phone: string;
|
|
768
|
-
onSuccess: () => void;
|
|
769
|
-
onFail?: (error: any) => void;
|
|
770
|
-
}
|
|
771
|
-
export interface ResetPasswordStep3Props {
|
|
772
|
-
email: string;
|
|
773
|
-
onSuccess: () => void;
|
|
774
|
-
onFail?: (error: any) => void;
|
|
775
|
-
}
|
|
776
|
-
export interface SocialAndIdpLoginProps extends BaseFormProps {
|
|
777
|
-
}
|
|
778
|
-
export interface MfaVerifyForm extends BaseFormProps {
|
|
779
|
-
goReset: () => void;
|
|
780
|
-
}
|
|
781
|
-
export interface SmsMFAVerifyFormProps extends BaseFormProps {
|
|
782
|
-
phone?: string;
|
|
783
|
-
mfaToken: string;
|
|
784
|
-
sendCodeRef: React.RefObject<HTMLButtonElement>;
|
|
785
|
-
}
|
|
786
|
-
export interface SmsMFAFormProps extends BaseFormProps {
|
|
787
|
-
}
|
|
788
|
-
export interface MFACheckPhoneFormProps {
|
|
789
|
-
mfaToken: string;
|
|
790
|
-
onSuccess: (phone: string) => void;
|
|
791
|
-
}
|
|
792
|
-
export interface EmailMFAVerifyFormProps extends BaseFormProps {
|
|
793
|
-
email?: string;
|
|
794
|
-
mfaToken: string;
|
|
795
|
-
sendCodeRef: React.RefObject<HTMLButtonElement>;
|
|
796
|
-
}
|
|
797
|
-
export interface EmailMFAFormProps extends BaseFormProps {
|
|
798
|
-
}
|
|
799
|
-
export interface MFACheckEmailFormProps {
|
|
800
|
-
mfaToken: string;
|
|
801
|
-
onSuccess: (email: string) => void;
|
|
802
|
-
}
|
|
803
|
-
export interface MfaResetForm extends BaseFormProps {
|
|
804
|
-
goVerify: () => void;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
}
|
|
808
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig' {
|
|
809
|
-
import { AuthenticationClient, AuthenticationClientOptions, CommonMessage, SocialConnectionProvider, User } from 'authing-js-sdk';
|
|
810
|
-
import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
|
|
811
|
-
import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement, QrcodeTabsSettings } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
812
|
-
import { Lang } from '@authing/react-ui-components/components/AuthingGuard/types/Locales';
|
|
813
|
-
export type { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
|
|
814
|
-
export enum GuardMode {
|
|
815
|
-
Modal = "modal",
|
|
816
|
-
Normal = "normal"
|
|
817
|
-
}
|
|
818
|
-
export enum LoginMethods {
|
|
819
|
-
LDAP = "ldap",
|
|
820
|
-
AppQr = "app-qrcode",
|
|
821
|
-
Password = "password",
|
|
822
|
-
PhoneCode = "phone-code",
|
|
823
|
-
WxMinQr = "wechat-miniprogram-qrcode",
|
|
824
|
-
AD = "ad",
|
|
825
|
-
WechatMpQrcode = "wechatmp-qrcode"
|
|
826
|
-
}
|
|
827
|
-
export enum RegisterMethods {
|
|
828
|
-
Email = "email",
|
|
829
|
-
Phone = "phone",
|
|
830
|
-
EmailCode = "emailCode"
|
|
831
|
-
}
|
|
832
|
-
export enum GuardScenes {
|
|
833
|
-
Login = "login",
|
|
834
|
-
Register = "register",
|
|
835
|
-
MfaVerify = "mfaVerify",
|
|
836
|
-
AppMfaVerify = "appMfaVerify",
|
|
837
|
-
RestPassword = "restPassword",
|
|
838
|
-
CompleteUserInfo = "completeUserInfo"
|
|
839
|
-
}
|
|
840
|
-
export enum ResetPwdMethods {
|
|
841
|
-
Email = "email",
|
|
842
|
-
Phone = "phone"
|
|
843
|
-
}
|
|
844
|
-
export enum SocialConnections {
|
|
845
|
-
Qq = "qq",
|
|
846
|
-
Weibo = "weibo",
|
|
847
|
-
Github = "github",
|
|
848
|
-
Google = "google",
|
|
849
|
-
WxPc = "wechat:pc",
|
|
850
|
-
Dingtalk = "dingtalk",
|
|
851
|
-
WxWCorpQr = "wechatwork:corp:qrconnect",
|
|
852
|
-
WxWSPQr = "wechatwork:service-provider:qrconnect",
|
|
853
|
-
WxWSPAuth = "wechatwork:service-provider:authorization",
|
|
854
|
-
AlipayWeb = "alipay:web",
|
|
855
|
-
AppleWeb = "apple:web",
|
|
856
|
-
Baidu = "baidu",
|
|
857
|
-
LarkInternalApp = "lark-internal",
|
|
858
|
-
LarkMarketPlaceApp = "lark-public"
|
|
859
|
-
}
|
|
860
|
-
export enum Protocol {
|
|
861
|
-
AD = "ad",
|
|
862
|
-
CAS = "cas",
|
|
863
|
-
LDAP = "ldap",
|
|
864
|
-
OIDC = "oidc",
|
|
865
|
-
SAML = "saml",
|
|
866
|
-
OAUTH = "oauth",
|
|
867
|
-
AZURE_AD = "azure-ad"
|
|
868
|
-
}
|
|
869
|
-
export const GuardEventsCamelToKebabMap: {
|
|
870
|
-
readonly onLoad: "load";
|
|
871
|
-
readonly onLoadError: "load-error";
|
|
872
|
-
readonly onLogin: "login";
|
|
873
|
-
readonly onBeforeLogin: "before-login";
|
|
874
|
-
readonly onLoginError: "login-error";
|
|
875
|
-
readonly onRegister: "register";
|
|
876
|
-
readonly onBeforeRegister: "before-register";
|
|
877
|
-
readonly onRegisterError: "register-error";
|
|
878
|
-
readonly onPwdEmailSend: "pwd-email-send";
|
|
879
|
-
readonly onPwdEmailSendError: "pwd-email-send-error";
|
|
880
|
-
readonly onPwdPhoneSend: "pwd-phone-send";
|
|
881
|
-
readonly onPwdPhoneSendError: "pwd-phone-send-error";
|
|
882
|
-
readonly onPwdReset: "pwd-reset";
|
|
883
|
-
readonly onPwdResetError: "pwd-reset-error";
|
|
884
|
-
readonly onClose: "close";
|
|
885
|
-
readonly onLoginTabChange: "login-tab-change";
|
|
886
|
-
readonly onRegisterTabChange: "register-tab-change";
|
|
887
|
-
readonly onRegisterInfoCompleted: "register-info-completed";
|
|
888
|
-
readonly onRegisterInfoCompletedError: "register-info-completed-error";
|
|
889
|
-
};
|
|
890
|
-
export interface GuardEventsHandlerKebab {
|
|
891
|
-
load: GuardEventsHandler['onLoad'];
|
|
892
|
-
'load-error': GuardEventsHandler['onLoadError'];
|
|
893
|
-
'before-login': GuardEventsHandler['onBeforeLogin'];
|
|
894
|
-
login: GuardEventsHandler['onLogin'];
|
|
895
|
-
'login-error': GuardEventsHandler['onLoginError'];
|
|
896
|
-
'before-register': GuardEventsHandler['onBeforeRegister'];
|
|
897
|
-
register: GuardEventsHandler['onRegister'];
|
|
898
|
-
'register-error': GuardEventsHandler['onRegisterError'];
|
|
899
|
-
'pwd-email-send': GuardEventsHandler['onPwdEmailSend'];
|
|
900
|
-
'pwd-email-send-error': GuardEventsHandler['onPwdEmailSendError'];
|
|
901
|
-
'pwd-phone-send': GuardEventsHandler['onPwdPhoneSend'];
|
|
902
|
-
'pwd-phone-send-error': GuardEventsHandler['onPwdPhoneSendError'];
|
|
903
|
-
'pwd-reset': GuardEventsHandler['onPwdReset'];
|
|
904
|
-
'pwd-reset-error': GuardEventsHandler['onPwdResetError'];
|
|
905
|
-
close: GuardEventsHandler['onClose'];
|
|
906
|
-
'login-tab-change': GuardEventsHandler['onLoginTabChange'];
|
|
907
|
-
'register-tab-change': GuardEventsHandler['onRegisterTabChange'];
|
|
908
|
-
'register-info-completed': GuardEventsHandler['onRegisterInfoCompleted'];
|
|
909
|
-
'register-info-completed-error': GuardEventsHandler['onRegisterInfoCompletedError'];
|
|
910
|
-
}
|
|
911
|
-
export interface PasswordLoginParams {
|
|
912
|
-
type: LoginMethods.Password;
|
|
913
|
-
data: {
|
|
914
|
-
identity: string;
|
|
915
|
-
password: string;
|
|
916
|
-
captchaCode?: string;
|
|
917
|
-
};
|
|
918
|
-
}
|
|
919
|
-
export interface LDAPLoginParams {
|
|
920
|
-
type: LoginMethods.LDAP;
|
|
921
|
-
data: {
|
|
922
|
-
identity: string;
|
|
923
|
-
password: string;
|
|
924
|
-
captchaCode?: string;
|
|
925
|
-
};
|
|
926
|
-
}
|
|
927
|
-
export interface ADLoginParams {
|
|
928
|
-
type: LoginMethods.AD;
|
|
929
|
-
data: {
|
|
930
|
-
identity: string;
|
|
931
|
-
password: string;
|
|
932
|
-
};
|
|
933
|
-
}
|
|
934
|
-
export interface PhoneCodeLoginParams {
|
|
935
|
-
type: LoginMethods.PhoneCode;
|
|
936
|
-
data: {
|
|
937
|
-
phone: string;
|
|
938
|
-
code: string;
|
|
939
|
-
};
|
|
940
|
-
}
|
|
941
|
-
export interface EmailRegisterParams {
|
|
942
|
-
type: RegisterMethods.Email;
|
|
943
|
-
data: {
|
|
944
|
-
email: string;
|
|
945
|
-
password: string;
|
|
946
|
-
};
|
|
947
|
-
}
|
|
948
|
-
export interface PhoneRegisterParams {
|
|
949
|
-
type: RegisterMethods.Phone;
|
|
950
|
-
data: {
|
|
951
|
-
phone: string;
|
|
952
|
-
password: string;
|
|
953
|
-
code: string;
|
|
954
|
-
};
|
|
955
|
-
}
|
|
956
|
-
export interface GuardEventsHandler {
|
|
957
|
-
onLoad?: (authClient: AuthenticationClient) => void;
|
|
958
|
-
onLoadError?: (error: CommonMessage) => void;
|
|
959
|
-
onBeforeLogin?: (loginInfo: PasswordLoginParams | LDAPLoginParams | ADLoginParams | PhoneCodeLoginParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
|
|
960
|
-
onLogin?: (user: User, authClient: AuthenticationClient) => void;
|
|
961
|
-
onLoginError?: (user: User, authClient: AuthenticationClient) => void;
|
|
962
|
-
onBeforeRegister?: (registerInfo: EmailRegisterParams | PhoneRegisterParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
|
|
963
|
-
onRegister?: (user: User, authClient: AuthenticationClient) => void;
|
|
964
|
-
onRegisterError?: (user: User, authClient: AuthenticationClient) => void;
|
|
965
|
-
onPwdEmailSend?: (authClient: AuthenticationClient) => void;
|
|
966
|
-
onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
967
|
-
onPwdPhoneSend?: (authClient: AuthenticationClient) => void;
|
|
968
|
-
onPwdPhoneSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
969
|
-
onPwdReset?: (authClient: AuthenticationClient) => void;
|
|
970
|
-
onPwdResetError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
971
|
-
onClose?: () => void;
|
|
972
|
-
onLoginTabChange?: (activeTab: LoginMethods) => void;
|
|
973
|
-
onRegisterTabChange?: (activeTab: RegisterMethods) => void;
|
|
974
|
-
onRegisterInfoCompleted?: (user: User, udfs: {
|
|
975
|
-
definition: any;
|
|
976
|
-
value: any;
|
|
977
|
-
}[], authClient: AuthenticationClient) => void;
|
|
978
|
-
onRegisterInfoCompletedError?: (error: CommonMessage, udfs: {
|
|
979
|
-
definition: any;
|
|
980
|
-
value: any;
|
|
981
|
-
}[], authClient: AuthenticationClient) => void;
|
|
982
|
-
}
|
|
983
|
-
export interface UserConfig {
|
|
984
|
-
logo?: string;
|
|
985
|
-
title?: string;
|
|
986
|
-
description?: string;
|
|
987
|
-
zIndex?: number;
|
|
988
|
-
isSSO?: boolean;
|
|
989
|
-
mode?: GuardMode;
|
|
990
|
-
/**
|
|
991
|
-
* @deprecated 使用 appHost
|
|
992
|
-
*/
|
|
993
|
-
apiHost?: string;
|
|
994
|
-
/**
|
|
995
|
-
* @deprecated 使用 appHost
|
|
996
|
-
*/
|
|
997
|
-
appDomain?: string;
|
|
998
|
-
appHost?: string;
|
|
999
|
-
contentCss?: string;
|
|
1000
|
-
text?: {
|
|
1001
|
-
loginBtn?: {
|
|
1002
|
-
normal?: string;
|
|
1003
|
-
loading?: string;
|
|
1004
|
-
};
|
|
1005
|
-
registerBtn?: {
|
|
1006
|
-
normal?: string;
|
|
1007
|
-
loading?: string;
|
|
1008
|
-
};
|
|
1009
|
-
loginTabs?: Partial<Record<LoginMethods, string>>;
|
|
1010
|
-
};
|
|
1011
|
-
escCloseable?: boolean;
|
|
1012
|
-
autoRegister?: boolean;
|
|
1013
|
-
clickCloseable?: boolean;
|
|
1014
|
-
disableResetPwd?: boolean;
|
|
1015
|
-
disableRegister?: boolean;
|
|
1016
|
-
defaultScenes?: GuardScenes;
|
|
1017
|
-
loginMethods?: LoginMethods[];
|
|
1018
|
-
target?: string | HTMLElement;
|
|
1019
|
-
enterpriseConnections?: string[];
|
|
1020
|
-
defaultLoginMethod?: LoginMethods;
|
|
1021
|
-
registerMethods?: RegisterMethods[];
|
|
1022
|
-
socialConnections?: (SocialConnections | SocialConnectionProvider)[];
|
|
1023
|
-
defaultRegisterMethod?: RegisterMethods;
|
|
1024
|
-
qrCodeScanOptions?: Parameters<QrCodeAuthenticationClient['startScanning']>[1];
|
|
1025
|
-
/**
|
|
1026
|
-
* 国际化处理
|
|
1027
|
-
*/
|
|
1028
|
-
localesConfig?: LocalesConfig;
|
|
1029
|
-
lang?: Lang;
|
|
1030
|
-
/**
|
|
1031
|
-
* 用于去品牌化
|
|
1032
|
-
*/
|
|
1033
|
-
headers?: AuthenticationClientOptions['headers'];
|
|
1034
|
-
passwordLoginMethods?: PasswordLoginMethods[];
|
|
1035
|
-
}
|
|
1036
|
-
export interface GuardConfig extends UserConfig {
|
|
1037
|
-
socialConnectionObjs: SocialConnectionItem[];
|
|
1038
|
-
enterpriseConnectionObjs: EnterpriseConnectionItem[];
|
|
1039
|
-
extendsFields: ApplicationConfig['extendsFields'];
|
|
1040
|
-
publicKey: ApplicationConfig['publicKey'];
|
|
1041
|
-
agreementEnabled: boolean;
|
|
1042
|
-
agreements: Agreement[];
|
|
1043
|
-
loginMethodTitleMapping: Record<string, string>;
|
|
1044
|
-
qrcodeTabsSettings: QrcodeTabsSettings;
|
|
1045
|
-
}
|
|
1046
|
-
export interface LocalesConfig {
|
|
1047
|
-
defaultLang?: Lang;
|
|
1048
|
-
isShowChange?: boolean;
|
|
1049
|
-
onChange?: (lang: Lang) => void;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
}
|
|
1053
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/types/GuardState' {
|
|
1054
|
-
import { LoginMethods, RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
|
|
1055
|
-
import { GuardScenes } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
|
|
1056
|
-
export interface ActiveTabs {
|
|
1057
|
-
[GuardScenes.Login]: LoginMethods;
|
|
1058
|
-
[GuardScenes.Register]: RegisterMethods;
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
}
|
|
1062
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/types/Locales' {
|
|
1063
|
-
export type Lang = 'zh-CN' | 'en-US';
|
|
1064
|
-
export const LANG_MAP: {
|
|
1065
|
-
label: string;
|
|
1066
|
-
value: string;
|
|
1067
|
-
}[];
|
|
1068
|
-
|
|
1069
|
-
}
|
|
1070
|
-
declare module '@authing/react-ui-components/components/AuthingGuard/types/index' {
|
|
1071
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/types/Forms';
|
|
1072
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/types/GuardState';
|
|
1073
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
|
|
1074
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/types/Locales';
|
|
1075
|
-
|
|
1076
|
-
}
|
|
1077
|
-
declare module '@authing/react-ui-components/components/AuthingTabs/index' {
|
|
1078
|
-
import React, { FC } from 'react';
|
|
1079
|
-
import './style.less';
|
|
1080
|
-
export interface AuthingTabsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1081
|
-
activeKey?: string;
|
|
1082
|
-
onTabClick: (key: string) => void;
|
|
1083
|
-
showLen?: number;
|
|
1084
|
-
tabs: {
|
|
1085
|
-
key: string;
|
|
1086
|
-
label: string;
|
|
1087
|
-
component: JSX.Element;
|
|
1088
|
-
}[];
|
|
1089
|
-
}
|
|
1090
|
-
export const AuthingTabs: FC<AuthingTabsProps>;
|
|
1091
|
-
|
|
1092
|
-
}
|
|
1093
|
-
declare module '@authing/react-ui-components/components/Back/index' {
|
|
21
|
+
declare module '@authing/react-ui-components/Back/index' {
|
|
1094
22
|
import React from 'react';
|
|
1095
23
|
import './styles.less';
|
|
1096
24
|
export interface BackProps {
|
|
@@ -1103,15 +31,15 @@ declare module '@authing/react-ui-components/components/Back/index' {
|
|
|
1103
31
|
export const BackCustom: React.FC<BackCustomProps>;
|
|
1104
32
|
|
|
1105
33
|
}
|
|
1106
|
-
declare module '@authing/react-ui-components/
|
|
34
|
+
declare module '@authing/react-ui-components/BindTotp/businessRequest' {
|
|
1107
35
|
export enum BindTotpBusinessAction {
|
|
1108
36
|
VerifyTotpFirstTime = "verify-totp-first-time",
|
|
1109
37
|
ConfirmTotpRecoveryCode = "confirm-totp-recovery-code"
|
|
1110
38
|
}
|
|
1111
|
-
export const authFlow: (action: BindTotpBusinessAction, content: any) => Promise<import("@authing/react-ui-components/
|
|
39
|
+
export const authFlow: (action: BindTotpBusinessAction, content: any) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1112
40
|
|
|
1113
41
|
}
|
|
1114
|
-
declare module '@authing/react-ui-components/
|
|
42
|
+
declare module '@authing/react-ui-components/BindTotp/core/bindSuccess' {
|
|
1115
43
|
import React from 'react';
|
|
1116
44
|
export interface BindSuccessProps {
|
|
1117
45
|
onBind: any;
|
|
@@ -1120,7 +48,7 @@ declare module '@authing/react-ui-components/components/BindTotp/core/bindSucces
|
|
|
1120
48
|
export const BindSuccess: React.FC<BindSuccessProps>;
|
|
1121
49
|
|
|
1122
50
|
}
|
|
1123
|
-
declare module '@authing/react-ui-components/
|
|
51
|
+
declare module '@authing/react-ui-components/BindTotp/core/securityCode' {
|
|
1124
52
|
import React from 'react';
|
|
1125
53
|
export interface SecurityCodeProps {
|
|
1126
54
|
mfaToken: string;
|
|
@@ -1131,16 +59,16 @@ declare module '@authing/react-ui-components/components/BindTotp/core/securityCo
|
|
|
1131
59
|
export const SecurityCode: React.FC<SecurityCodeProps>;
|
|
1132
60
|
|
|
1133
61
|
}
|
|
1134
|
-
declare module '@authing/react-ui-components/
|
|
62
|
+
declare module '@authing/react-ui-components/BindTotp/index' {
|
|
1135
63
|
import React from 'react';
|
|
1136
64
|
import './styles.less';
|
|
1137
65
|
export const GuardBindTotpView: React.FC;
|
|
1138
66
|
|
|
1139
67
|
}
|
|
1140
|
-
declare module '@authing/react-ui-components/
|
|
1141
|
-
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/
|
|
1142
|
-
import {
|
|
1143
|
-
import {
|
|
68
|
+
declare module '@authing/react-ui-components/BindTotp/interface' {
|
|
69
|
+
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/Type/index';
|
|
70
|
+
import { GuardMFAInitData } from '@authing/react-ui-components/MFA/interface';
|
|
71
|
+
import { AuthenticationClient, User } from 'authing-js-sdk';
|
|
1144
72
|
export interface BindTotpConfig extends IG2Config {
|
|
1145
73
|
autoRegister: boolean;
|
|
1146
74
|
}
|
|
@@ -1160,12 +88,20 @@ declare module '@authing/react-ui-components/components/BindTotp/interface' {
|
|
|
1160
88
|
}
|
|
1161
89
|
|
|
1162
90
|
}
|
|
1163
|
-
declare module '@authing/react-ui-components/
|
|
91
|
+
declare module '@authing/react-ui-components/ChangeLanguage/index' {
|
|
1164
92
|
/// <reference types="react" />
|
|
1165
|
-
|
|
93
|
+
import { Lang } from '@authing/react-ui-components/Type/index';
|
|
94
|
+
import './style.less';
|
|
95
|
+
export const LngTextMapping: Record<Lang, {
|
|
96
|
+
label: string;
|
|
97
|
+
}>;
|
|
98
|
+
export const ChangeLanguage: (props: {
|
|
99
|
+
onLangChange?: ((lang: Lang) => void) | undefined;
|
|
100
|
+
langRange?: string[] | undefined;
|
|
101
|
+
}) => JSX.Element | null;
|
|
1166
102
|
|
|
1167
103
|
}
|
|
1168
|
-
declare module '@authing/react-ui-components/
|
|
104
|
+
declare module '@authing/react-ui-components/ChangePassword/businessRequest' {
|
|
1169
105
|
export enum ChangePasswordBusinessAction {
|
|
1170
106
|
ResetPassword = "reset-password-first-time",
|
|
1171
107
|
FirstLoginReset = "reset-password-forced",
|
|
@@ -1174,10 +110,10 @@ declare module '@authing/react-ui-components/components/ChangePassword/businessR
|
|
|
1174
110
|
export const authFlow: (action: ChangePasswordBusinessAction, content: {
|
|
1175
111
|
password: string;
|
|
1176
112
|
oldPassword?: string;
|
|
1177
|
-
}) => Promise<import("@authing/react-ui-components/
|
|
113
|
+
}) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1178
114
|
|
|
1179
115
|
}
|
|
1180
|
-
declare module '@authing/react-ui-components/
|
|
116
|
+
declare module '@authing/react-ui-components/ChangePassword/core/PasswordNotSafeReset' {
|
|
1181
117
|
import React from 'react';
|
|
1182
118
|
interface PasswordNotSafeResetProps {
|
|
1183
119
|
onReset: any;
|
|
@@ -1186,12 +122,12 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/Pass
|
|
|
1186
122
|
export {};
|
|
1187
123
|
|
|
1188
124
|
}
|
|
1189
|
-
declare module '@authing/react-ui-components/
|
|
125
|
+
declare module '@authing/react-ui-components/ChangePassword/core/completePassword' {
|
|
1190
126
|
import React from 'react';
|
|
1191
127
|
export const CompletePassword: React.FC;
|
|
1192
128
|
|
|
1193
129
|
}
|
|
1194
|
-
declare module '@authing/react-ui-components/
|
|
130
|
+
declare module '@authing/react-ui-components/ChangePassword/core/firstLoginReset' {
|
|
1195
131
|
import React from 'react';
|
|
1196
132
|
interface FirstLoginResetProps {
|
|
1197
133
|
onReset: any;
|
|
@@ -1200,7 +136,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/firs
|
|
|
1200
136
|
export {};
|
|
1201
137
|
|
|
1202
138
|
}
|
|
1203
|
-
declare module '@authing/react-ui-components/
|
|
139
|
+
declare module '@authing/react-ui-components/ChangePassword/core/rotateReset' {
|
|
1204
140
|
/// <reference types="react" />
|
|
1205
141
|
interface RotateResetProps {
|
|
1206
142
|
onReset: any;
|
|
@@ -1210,7 +146,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/rota
|
|
|
1210
146
|
export {};
|
|
1211
147
|
|
|
1212
148
|
}
|
|
1213
|
-
declare module '@authing/react-ui-components/
|
|
149
|
+
declare module '@authing/react-ui-components/ChangePassword/index' {
|
|
1214
150
|
import React from 'react';
|
|
1215
151
|
export const GuardChangePassword: React.FC<{
|
|
1216
152
|
title: string;
|
|
@@ -1223,21 +159,21 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1223
159
|
export const GuardRegisterCompletePasswordView: React.FC;
|
|
1224
160
|
|
|
1225
161
|
}
|
|
1226
|
-
declare module '@authing/react-ui-components/
|
|
162
|
+
declare module '@authing/react-ui-components/CompleteInfo/businessRequest' {
|
|
1227
163
|
import { User } from 'authing-js-sdk';
|
|
1228
|
-
import { CompleteInfoRequest, RegisterCompleteInfoInitData } from '@authing/react-ui-components/
|
|
164
|
+
import { CompleteInfoRequest, RegisterCompleteInfoInitData } from '@authing/react-ui-components/CompleteInfo/interface';
|
|
1229
165
|
export enum CompleteInfoAuthFlowAction {
|
|
1230
166
|
Complete = "complete-completion",
|
|
1231
167
|
Skip = "skip-completion"
|
|
1232
168
|
}
|
|
1233
|
-
export const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest | undefined) => Promise<import("@authing/react-ui-components/
|
|
1234
|
-
export const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'], content: any) => Promise<import("@authing/react-ui-components/
|
|
1235
|
-
export const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<User | import("@authing/react-ui-components/
|
|
169
|
+
export const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest | undefined) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
170
|
+
export const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'], content: any) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>> | Promise<User> | undefined;
|
|
171
|
+
export const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<User | import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any> | undefined>;
|
|
1236
172
|
|
|
1237
173
|
}
|
|
1238
|
-
declare module '@authing/react-ui-components/
|
|
174
|
+
declare module '@authing/react-ui-components/CompleteInfo/core/completeInfo' {
|
|
1239
175
|
import React from 'react';
|
|
1240
|
-
import { CompleteInfoMetaData, CompleteInfoRequest } from '@authing/react-ui-components/
|
|
176
|
+
import { CompleteInfoMetaData, CompleteInfoRequest } from '@authing/react-ui-components/CompleteInfo/interface';
|
|
1241
177
|
export interface CompleteInfoProps {
|
|
1242
178
|
metaData: CompleteInfoMetaData[];
|
|
1243
179
|
businessRequest: (data: CompleteInfoRequest) => Promise<void>;
|
|
@@ -1249,11 +185,11 @@ declare module '@authing/react-ui-components/components/CompleteInfo/core/comple
|
|
|
1249
185
|
export const CompleteInfo: React.FC<CompleteInfoProps>;
|
|
1250
186
|
|
|
1251
187
|
}
|
|
1252
|
-
declare module '@authing/react-ui-components/
|
|
188
|
+
declare module '@authing/react-ui-components/CompleteInfo/index' {
|
|
1253
189
|
import React from 'react';
|
|
1254
|
-
import { CompleteInfoMetaData, CompleteInfoRequest } from '@authing/react-ui-components/
|
|
190
|
+
import { CompleteInfoMetaData, CompleteInfoRequest } from '@authing/react-ui-components/CompleteInfo/interface';
|
|
1255
191
|
import './styles.less';
|
|
1256
|
-
import { CompleteInfoAuthFlowAction } from '@authing/react-ui-components/
|
|
192
|
+
import { CompleteInfoAuthFlowAction } from '@authing/react-ui-components/CompleteInfo/businessRequest';
|
|
1257
193
|
export const GuardCompleteInfo: React.FC<{
|
|
1258
194
|
metaData: CompleteInfoMetaData[];
|
|
1259
195
|
skipComplateFileds: boolean;
|
|
@@ -1263,9 +199,9 @@ declare module '@authing/react-ui-components/components/CompleteInfo/index' {
|
|
|
1263
199
|
export const GuardRegisterCompleteInfoView: React.FC;
|
|
1264
200
|
|
|
1265
201
|
}
|
|
1266
|
-
declare module '@authing/react-ui-components/
|
|
202
|
+
declare module '@authing/react-ui-components/CompleteInfo/interface' {
|
|
1267
203
|
import { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
|
|
1268
|
-
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/
|
|
204
|
+
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/Type/index';
|
|
1269
205
|
export interface CompleteInfoConfig extends IG2Config {
|
|
1270
206
|
}
|
|
1271
207
|
export const getDefaultCompleteInfoConfig: () => CompleteInfoConfig;
|
|
@@ -1365,12 +301,12 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1365
301
|
}
|
|
1366
302
|
|
|
1367
303
|
}
|
|
1368
|
-
declare module '@authing/react-ui-components/
|
|
304
|
+
declare module '@authing/react-ui-components/CompleteInfo/utils' {
|
|
1369
305
|
import { User } from 'authing-js-sdk';
|
|
1370
|
-
import {
|
|
1371
|
-
import {
|
|
306
|
+
import { CompleteInfoMetaData, ExtendsField } from '@authing/react-ui-components/CompleteInfo/interface';
|
|
307
|
+
import { ApplicationConfig } from '@authing/react-ui-components/Type/application';
|
|
1372
308
|
export const completeFieldsFilter: (user: User, field: ExtendsField) => boolean;
|
|
1373
|
-
export const extendsFieldsToMetaData: (extendsFields: import("@authing/react-ui-components/
|
|
309
|
+
export const extendsFieldsToMetaData: (extendsFields: import("@authing/react-ui-components/Type/application").ExtendsField[] | undefined, selectOptions: {
|
|
1374
310
|
key: string;
|
|
1375
311
|
options: {
|
|
1376
312
|
value: string;
|
|
@@ -1384,7 +320,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/utils' {
|
|
|
1384
320
|
}[] | undefined) => Record<string, any>;
|
|
1385
321
|
|
|
1386
322
|
}
|
|
1387
|
-
declare module '@authing/react-ui-components/
|
|
323
|
+
declare module '@authing/react-ui-components/CopyAbleText/index' {
|
|
1388
324
|
import React, { FC } from 'react';
|
|
1389
325
|
import './style.less';
|
|
1390
326
|
export interface CopyTextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -1392,14 +328,14 @@ declare module '@authing/react-ui-components/components/CopyAbleText/index' {
|
|
|
1392
328
|
export const CopyAbleText: FC<CopyTextProps>;
|
|
1393
329
|
|
|
1394
330
|
}
|
|
1395
|
-
declare module '@authing/react-ui-components/
|
|
331
|
+
declare module '@authing/react-ui-components/DownloadAuthenticator/index' {
|
|
1396
332
|
import React from 'react';
|
|
1397
333
|
import './styles.less';
|
|
1398
334
|
export const GuardDownloadATView: React.FC;
|
|
1399
335
|
|
|
1400
336
|
}
|
|
1401
|
-
declare module '@authing/react-ui-components/
|
|
1402
|
-
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/
|
|
337
|
+
declare module '@authing/react-ui-components/DownloadAuthenticator/interface' {
|
|
338
|
+
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/Type/index';
|
|
1403
339
|
export interface DownloadATConfig extends IG2Config {
|
|
1404
340
|
}
|
|
1405
341
|
export const getDefaultDownloadAuthenticatorConfig: () => DownloadATConfig;
|
|
@@ -1413,7 +349,7 @@ declare module '@authing/react-ui-components/components/DownloadAuthenticator/in
|
|
|
1413
349
|
}
|
|
1414
350
|
|
|
1415
351
|
}
|
|
1416
|
-
declare module '@authing/react-ui-components/
|
|
352
|
+
declare module '@authing/react-ui-components/Error/index' {
|
|
1417
353
|
import React from 'react';
|
|
1418
354
|
import './styles.less';
|
|
1419
355
|
export interface ErrorProps {
|
|
@@ -1422,7 +358,7 @@ declare module '@authing/react-ui-components/components/Error/index' {
|
|
|
1422
358
|
export const GuardErrorView: React.FC<ErrorProps>;
|
|
1423
359
|
|
|
1424
360
|
}
|
|
1425
|
-
declare module '@authing/react-ui-components/
|
|
361
|
+
declare module '@authing/react-ui-components/Error/interface' {
|
|
1426
362
|
export interface ErrorInitData {
|
|
1427
363
|
error?: Error;
|
|
1428
364
|
}
|
|
@@ -1433,7 +369,7 @@ declare module '@authing/react-ui-components/components/Error/interface' {
|
|
|
1433
369
|
}
|
|
1434
370
|
|
|
1435
371
|
}
|
|
1436
|
-
declare module '@authing/react-ui-components/
|
|
372
|
+
declare module '@authing/react-ui-components/ForgetPassword/core/resetPassword' {
|
|
1437
373
|
/// <reference types="react" />
|
|
1438
374
|
export enum InputMethodMap {
|
|
1439
375
|
email = "email-code",
|
|
@@ -1449,14 +385,14 @@ declare module '@authing/react-ui-components/components/ForgetPassword/core/rese
|
|
|
1449
385
|
export {};
|
|
1450
386
|
|
|
1451
387
|
}
|
|
1452
|
-
declare module '@authing/react-ui-components/
|
|
388
|
+
declare module '@authing/react-ui-components/ForgetPassword/index' {
|
|
1453
389
|
import React from 'react';
|
|
1454
390
|
export const GuardForgetPassword: React.FC;
|
|
1455
391
|
|
|
1456
392
|
}
|
|
1457
|
-
declare module '@authing/react-ui-components/
|
|
1458
|
-
import { AuthenticationClient, CommonMessage } from '
|
|
1459
|
-
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/
|
|
393
|
+
declare module '@authing/react-ui-components/ForgetPassword/interface' {
|
|
394
|
+
import { AuthenticationClient, CommonMessage } from 'authing-js-sdk';
|
|
395
|
+
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/Type/index';
|
|
1460
396
|
export interface ForgetPasswordEvents extends IG2Events {
|
|
1461
397
|
onPwdEmailSend?: (authClient: AuthenticationClient) => void;
|
|
1462
398
|
onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
@@ -1475,10 +411,10 @@ declare module '@authing/react-ui-components/components/ForgetPassword/interface
|
|
|
1475
411
|
}
|
|
1476
412
|
|
|
1477
413
|
}
|
|
1478
|
-
declare module '@authing/react-ui-components/
|
|
1479
|
-
import { GuardEvents } from '@authing/react-ui-components/
|
|
1480
|
-
import { GuardAppendConfig, IG2FCProps } from '@authing/react-ui-components/
|
|
1481
|
-
import { GuardLocalConfig } from '@authing/react-ui-components/
|
|
414
|
+
declare module '@authing/react-ui-components/Guard/Guard' {
|
|
415
|
+
import { GuardEvents } from '@authing/react-ui-components/Guard/event';
|
|
416
|
+
import { GuardAppendConfig, IG2FCProps } from '@authing/react-ui-components/Type/index';
|
|
417
|
+
import { GuardLocalConfig } from '@authing/react-ui-components/Guard/config';
|
|
1482
418
|
import 'moment/locale/zh-cn';
|
|
1483
419
|
import React from 'react';
|
|
1484
420
|
export interface GuardProps extends GuardEvents, IG2FCProps {
|
|
@@ -1488,9 +424,9 @@ declare module '@authing/react-ui-components/components/Guard/Guard' {
|
|
|
1488
424
|
export const Guard: React.MemoExoticComponent<(props: GuardProps) => JSX.Element>;
|
|
1489
425
|
|
|
1490
426
|
}
|
|
1491
|
-
declare module '@authing/react-ui-components/
|
|
1492
|
-
import { GuardLocalConfig } from '@authing/react-ui-components/
|
|
1493
|
-
import { GuardModuleType } from '@authing/react-ui-components/
|
|
427
|
+
declare module '@authing/react-ui-components/Guard/GuardModule/stateMachine' {
|
|
428
|
+
import { GuardLocalConfig } from '@authing/react-ui-components/Guard/config';
|
|
429
|
+
import { GuardModuleType } from '@authing/react-ui-components/Guard/module';
|
|
1494
430
|
export interface ModuleState {
|
|
1495
431
|
moduleName: GuardModuleType;
|
|
1496
432
|
initData?: any;
|
|
@@ -1529,9 +465,9 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
|
|
|
1529
465
|
export const useGuardStateMachine: () => GuardStateMachine;
|
|
1530
466
|
|
|
1531
467
|
}
|
|
1532
|
-
declare module '@authing/react-ui-components/
|
|
468
|
+
declare module '@authing/react-ui-components/Guard/authClient' {
|
|
1533
469
|
import { AuthenticationClient } from 'authing-js-sdk';
|
|
1534
|
-
import { GuardLocalConfig } from '@authing/react-ui-components/
|
|
470
|
+
import { GuardLocalConfig } from '@authing/react-ui-components/Guard/config';
|
|
1535
471
|
let authClient: AuthenticationClient;
|
|
1536
472
|
export const initGuardAuthClient: (config: GuardLocalConfig, appId: string, tenantId?: string | undefined) => AuthenticationClient;
|
|
1537
473
|
export const useInitGuardAuthClient: (props: {
|
|
@@ -1546,11 +482,11 @@ declare module '@authing/react-ui-components/components/Guard/authClient' {
|
|
|
1546
482
|
export {};
|
|
1547
483
|
|
|
1548
484
|
}
|
|
1549
|
-
declare module '@authing/react-ui-components/
|
|
485
|
+
declare module '@authing/react-ui-components/Guard/config' {
|
|
1550
486
|
import { ReactNode } from 'react';
|
|
1551
|
-
import { GuardModuleType } from '@authing/react-ui-components/
|
|
1552
|
-
import { LoginConfig } from '@authing/react-ui-components/
|
|
1553
|
-
import { RegisterConfig } from '@authing/react-ui-components/
|
|
487
|
+
import { GuardModuleType } from '@authing/react-ui-components/Guard/index';
|
|
488
|
+
import { LoginConfig } from '@authing/react-ui-components/Login/interface';
|
|
489
|
+
import { RegisterConfig } from '@authing/react-ui-components/Register/interface';
|
|
1554
490
|
export interface GuardComponentConfig extends Partial<GuardLocalConfig> {
|
|
1555
491
|
}
|
|
1556
492
|
export enum QrCodeScanType {
|
|
@@ -1576,10 +512,10 @@ declare module '@authing/react-ui-components/components/Guard/config' {
|
|
|
1576
512
|
export const getDefaultGuardLocalConfig: () => GuardLocalConfig;
|
|
1577
513
|
|
|
1578
514
|
}
|
|
1579
|
-
declare module '@authing/react-ui-components/
|
|
515
|
+
declare module '@authing/react-ui-components/Guard/core/index' {
|
|
1580
516
|
/// <reference types="react" />
|
|
1581
|
-
import { GuardProps } from '@authing/react-ui-components/
|
|
1582
|
-
import { ModuleState } from '@authing/react-ui-components/
|
|
517
|
+
import { GuardProps } from '@authing/react-ui-components/Guard/index';
|
|
518
|
+
import { ModuleState } from '@authing/react-ui-components/Guard/GuardModule/stateMachine';
|
|
1583
519
|
export interface GuardCoreProps {
|
|
1584
520
|
guardProps: GuardProps;
|
|
1585
521
|
initState: ModuleState;
|
|
@@ -1587,19 +523,19 @@ declare module '@authing/react-ui-components/components/Guard/core/index' {
|
|
|
1587
523
|
export const GuardCore: (props: GuardCoreProps) => JSX.Element;
|
|
1588
524
|
|
|
1589
525
|
}
|
|
1590
|
-
declare module '@authing/react-ui-components/
|
|
1591
|
-
import { GuardProps } from '@authing/react-ui-components/
|
|
526
|
+
declare module '@authing/react-ui-components/Guard/core/renderContext' {
|
|
527
|
+
import { GuardProps } from '@authing/react-ui-components/Guard/index';
|
|
1592
528
|
import React from 'react';
|
|
1593
|
-
import { ModuleState } from '@authing/react-ui-components/
|
|
529
|
+
import { ModuleState } from '@authing/react-ui-components/Guard/GuardModule/stateMachine';
|
|
1594
530
|
export const RenderContext: React.FC<{
|
|
1595
531
|
guardProps: GuardProps;
|
|
1596
532
|
initState: ModuleState;
|
|
1597
533
|
}>;
|
|
1598
534
|
|
|
1599
535
|
}
|
|
1600
|
-
declare module '@authing/react-ui-components/
|
|
536
|
+
declare module '@authing/react-ui-components/Guard/core/renderModule' {
|
|
1601
537
|
import React from 'react';
|
|
1602
|
-
import { GuardProps } from '@authing/react-ui-components/
|
|
538
|
+
import { GuardProps } from '@authing/react-ui-components/Guard/index';
|
|
1603
539
|
import '../styles.less';
|
|
1604
540
|
export enum LangMAP {
|
|
1605
541
|
zhCn = "zh-CN",
|
|
@@ -1610,27 +546,27 @@ declare module '@authing/react-ui-components/components/Guard/core/renderModule'
|
|
|
1610
546
|
}>;
|
|
1611
547
|
|
|
1612
548
|
}
|
|
1613
|
-
declare module '@authing/react-ui-components/
|
|
1614
|
-
import { GuardAppendConfig } from '@authing/react-ui-components/
|
|
549
|
+
declare module '@authing/react-ui-components/Guard/core/useAppendConfig' {
|
|
550
|
+
import { GuardAppendConfig } from '@authing/react-ui-components/index';
|
|
1615
551
|
export const getGuardWindow: () => (Window & typeof globalThis) | undefined;
|
|
1616
552
|
export const useGuardWindow: () => (Window & typeof globalThis) | undefined;
|
|
1617
553
|
export const useInitGuardAppendConfig: (appId?: string | undefined, appendConfig?: GuardAppendConfig | undefined) => void;
|
|
1618
554
|
|
|
1619
555
|
}
|
|
1620
|
-
declare module '@authing/react-ui-components/
|
|
1621
|
-
import { FacePlugin } from '@authing/react-ui-components/
|
|
556
|
+
declare module '@authing/react-ui-components/Guard/core/usePlugin' {
|
|
557
|
+
import { FacePlugin } from '@authing/react-ui-components/_utils/facePlugin/interface';
|
|
1622
558
|
export const useGuardPlugin: any;
|
|
1623
559
|
export const useGuardFacePlugin: (facePlugin?: FacePlugin | undefined) => boolean;
|
|
1624
560
|
|
|
1625
561
|
}
|
|
1626
|
-
declare module '@authing/react-ui-components/
|
|
1627
|
-
import { GuardModuleType } from '@authing/react-ui-components/
|
|
1628
|
-
import { CompleteInfoEvents } from '@authing/react-ui-components/
|
|
1629
|
-
import { ForgetPasswordEvents } from '@authing/react-ui-components/
|
|
1630
|
-
import { IdentityBindingEvents } from '@authing/react-ui-components/
|
|
1631
|
-
import { IdentityBindingAskEvents } from '@authing/react-ui-components/
|
|
1632
|
-
import { LoginEvents } from '@authing/react-ui-components/
|
|
1633
|
-
import { RegisterEvents } from '@authing/react-ui-components/
|
|
562
|
+
declare module '@authing/react-ui-components/Guard/event' {
|
|
563
|
+
import { GuardModuleType } from '@authing/react-ui-components/Guard/index';
|
|
564
|
+
import { CompleteInfoEvents } from '@authing/react-ui-components/CompleteInfo/interface';
|
|
565
|
+
import { ForgetPasswordEvents } from '@authing/react-ui-components/ForgetPassword/interface';
|
|
566
|
+
import { IdentityBindingEvents } from '@authing/react-ui-components/IdentityBinding/interface';
|
|
567
|
+
import { IdentityBindingAskEvents } from '@authing/react-ui-components/IdentityBindingAsk/index';
|
|
568
|
+
import { LoginEvents } from '@authing/react-ui-components/Login/interface';
|
|
569
|
+
import { RegisterEvents } from '@authing/react-ui-components/Register/interface';
|
|
1634
570
|
export interface GuardEvents extends LoginEvents, RegisterEvents, CompleteInfoEvents, ForgetPasswordEvents, IdentityBindingEvents, IdentityBindingAskEvents {
|
|
1635
571
|
onBeforeChangeModule?: (key: GuardModuleType, initData?: any) => boolean | Promise<boolean>;
|
|
1636
572
|
}
|
|
@@ -1682,14 +618,14 @@ declare module '@authing/react-ui-components/components/Guard/event' {
|
|
|
1682
618
|
}
|
|
1683
619
|
|
|
1684
620
|
}
|
|
1685
|
-
declare module '@authing/react-ui-components/
|
|
1686
|
-
export * from '@authing/react-ui-components/
|
|
1687
|
-
export * from '@authing/react-ui-components/
|
|
1688
|
-
export * from '@authing/react-ui-components/
|
|
1689
|
-
export * from '@authing/react-ui-components/
|
|
621
|
+
declare module '@authing/react-ui-components/Guard/index' {
|
|
622
|
+
export * from '@authing/react-ui-components/Guard/Guard';
|
|
623
|
+
export * from '@authing/react-ui-components/Guard/module';
|
|
624
|
+
export * from '@authing/react-ui-components/Guard/event';
|
|
625
|
+
export * from '@authing/react-ui-components/Guard/config';
|
|
1690
626
|
|
|
1691
627
|
}
|
|
1692
|
-
declare module '@authing/react-ui-components/
|
|
628
|
+
declare module '@authing/react-ui-components/Guard/module' {
|
|
1693
629
|
export enum GuardModuleType {
|
|
1694
630
|
ERROR = "error",
|
|
1695
631
|
LOGIN = "login",
|
|
@@ -1720,8 +656,8 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1720
656
|
}
|
|
1721
657
|
|
|
1722
658
|
}
|
|
1723
|
-
declare module '@authing/react-ui-components/
|
|
1724
|
-
import { User } from '
|
|
659
|
+
declare module '@authing/react-ui-components/Guard/sso' {
|
|
660
|
+
import { User } from 'authing-js-sdk';
|
|
1725
661
|
export interface SessionData {
|
|
1726
662
|
session: null | {
|
|
1727
663
|
_id: string;
|
|
@@ -1739,10 +675,10 @@ declare module '@authing/react-ui-components/components/Guard/sso' {
|
|
|
1739
675
|
};
|
|
1740
676
|
userInfo?: User;
|
|
1741
677
|
}
|
|
1742
|
-
export const trackSession: () => Promise<import("@authing/react-ui-components/
|
|
678
|
+
export const trackSession: () => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<SessionData>>;
|
|
1743
679
|
|
|
1744
680
|
}
|
|
1745
|
-
declare module '@authing/react-ui-components/
|
|
681
|
+
declare module '@authing/react-ui-components/GuardButton/GuardButton' {
|
|
1746
682
|
import React from 'react';
|
|
1747
683
|
import { ButtonProps } from 'antd/lib/button';
|
|
1748
684
|
import './styles.less';
|
|
@@ -1751,15 +687,15 @@ declare module '@authing/react-ui-components/components/GuardButton/GuardButton'
|
|
|
1751
687
|
export const GuardButton: React.FC<GuardButtonProps>;
|
|
1752
688
|
|
|
1753
689
|
}
|
|
1754
|
-
declare module '@authing/react-ui-components/
|
|
1755
|
-
export * from '@authing/react-ui-components/
|
|
690
|
+
declare module '@authing/react-ui-components/GuardButton/index' {
|
|
691
|
+
export * from '@authing/react-ui-components/GuardButton/GuardButton';
|
|
1756
692
|
|
|
1757
693
|
}
|
|
1758
|
-
declare module '@authing/react-ui-components/
|
|
694
|
+
declare module '@authing/react-ui-components/IconFont/iconfont' {
|
|
1759
695
|
export const GenerateSvg: (guardDocument: Document, svgString: string) => void;
|
|
1760
696
|
|
|
1761
697
|
}
|
|
1762
|
-
declare module '@authing/react-ui-components/
|
|
698
|
+
declare module '@authing/react-ui-components/IconFont/index' {
|
|
1763
699
|
import React, { FC } from 'react';
|
|
1764
700
|
import './iconfont';
|
|
1765
701
|
import './style.less';
|
|
@@ -1770,17 +706,17 @@ declare module '@authing/react-ui-components/components/IconFont/index' {
|
|
|
1770
706
|
}>;
|
|
1771
707
|
|
|
1772
708
|
}
|
|
1773
|
-
declare module '@authing/react-ui-components/
|
|
709
|
+
declare module '@authing/react-ui-components/IconFont/useGuardIconfont' {
|
|
1774
710
|
export const useGuardIconfont: (cdnBase?: string | undefined, setError?: any) => boolean;
|
|
1775
711
|
|
|
1776
712
|
}
|
|
1777
|
-
declare module '@authing/react-ui-components/
|
|
713
|
+
declare module '@authing/react-ui-components/IdentityBinding/IdentityBinding' {
|
|
1778
714
|
import React from 'react';
|
|
1779
715
|
import './styles.less';
|
|
1780
716
|
export const GuardIdentityBindingView: React.FC;
|
|
1781
717
|
|
|
1782
718
|
}
|
|
1783
|
-
declare module '@authing/react-ui-components/
|
|
719
|
+
declare module '@authing/react-ui-components/IdentityBinding/businessRequest' {
|
|
1784
720
|
export enum IdentityBindingBusinessAction {
|
|
1785
721
|
PhoneCode = "phone-code",
|
|
1786
722
|
EmailCode = "emial-code",
|
|
@@ -1806,26 +742,26 @@ declare module '@authing/react-ui-components/components/IdentityBinding/business
|
|
|
1806
742
|
BindByPhoneCode = "bind-identity-by-phone-code",
|
|
1807
743
|
BindByEmailCode = "bind-identity-by-email-code"
|
|
1808
744
|
}
|
|
1809
|
-
export const PhoneCode: (params: PhoneCodeParams) => Promise<import("@authing/react-ui-components/
|
|
1810
|
-
export const EmailCode: (params: EmailCodeParams) => Promise<import("@authing/react-ui-components/
|
|
1811
|
-
export const Password: (params: PasswordParams) => Promise<import("@authing/react-ui-components/
|
|
745
|
+
export const PhoneCode: (params: PhoneCodeParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
746
|
+
export const EmailCode: (params: EmailCodeParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
747
|
+
export const Password: (params: PasswordParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1812
748
|
export const useIdentityBindingBusinessRequest: () => {
|
|
1813
|
-
"phone-code": (params: PhoneCodeParams) => Promise<import("@authing/react-ui-components/
|
|
1814
|
-
"emial-code": (params: EmailCodeParams) => Promise<import("@authing/react-ui-components/
|
|
1815
|
-
password: (params: PasswordParams) => Promise<import("@authing/react-ui-components/
|
|
749
|
+
"phone-code": (params: PhoneCodeParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
750
|
+
"emial-code": (params: EmailCodeParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
751
|
+
password: (params: PasswordParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1816
752
|
};
|
|
1817
753
|
|
|
1818
754
|
}
|
|
1819
|
-
declare module '@authing/react-ui-components/
|
|
1820
|
-
export * from '@authing/react-ui-components/
|
|
1821
|
-
export * from '@authing/react-ui-components/
|
|
755
|
+
declare module '@authing/react-ui-components/IdentityBinding/index' {
|
|
756
|
+
export * from '@authing/react-ui-components/IdentityBinding/IdentityBinding';
|
|
757
|
+
export * from '@authing/react-ui-components/IdentityBinding/interface';
|
|
1822
758
|
|
|
1823
759
|
}
|
|
1824
|
-
declare module '@authing/react-ui-components/
|
|
1825
|
-
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/
|
|
1826
|
-
import {
|
|
1827
|
-
import {
|
|
1828
|
-
import {
|
|
760
|
+
declare module '@authing/react-ui-components/IdentityBinding/interface' {
|
|
761
|
+
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/index';
|
|
762
|
+
import { AuthenticationClient, User } from 'authing-js-sdk';
|
|
763
|
+
import { GuardModuleType } from '@authing/react-ui-components/Guard/index';
|
|
764
|
+
import { Agreement } from '@authing/react-ui-components/Type/application';
|
|
1829
765
|
export interface IdentityBindingConfig extends IG2Config {
|
|
1830
766
|
autoRegister?: boolean;
|
|
1831
767
|
publicKey?: string;
|
|
@@ -1851,20 +787,20 @@ declare module '@authing/react-ui-components/components/IdentityBinding/interfac
|
|
|
1851
787
|
}
|
|
1852
788
|
|
|
1853
789
|
}
|
|
1854
|
-
declare module '@authing/react-ui-components/
|
|
790
|
+
declare module '@authing/react-ui-components/IdentityBindingAsk/IdentityBindingAsk' {
|
|
1855
791
|
import React from 'react';
|
|
1856
792
|
import './styles.less';
|
|
1857
793
|
export const GuardIdentityBindingAskView: React.FC;
|
|
1858
794
|
|
|
1859
795
|
}
|
|
1860
|
-
declare module '@authing/react-ui-components/
|
|
1861
|
-
export * from '@authing/react-ui-components/
|
|
1862
|
-
export * from '@authing/react-ui-components/
|
|
796
|
+
declare module '@authing/react-ui-components/IdentityBindingAsk/index' {
|
|
797
|
+
export * from '@authing/react-ui-components/IdentityBindingAsk/IdentityBindingAsk';
|
|
798
|
+
export * from '@authing/react-ui-components/IdentityBindingAsk/interface';
|
|
1863
799
|
|
|
1864
800
|
}
|
|
1865
|
-
declare module '@authing/react-ui-components/
|
|
1866
|
-
import { AuthenticationClient, User } from '
|
|
1867
|
-
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/
|
|
801
|
+
declare module '@authing/react-ui-components/IdentityBindingAsk/interface' {
|
|
802
|
+
import { AuthenticationClient, User } from 'authing-js-sdk';
|
|
803
|
+
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/index';
|
|
1868
804
|
export interface IdentityBindingAskConfig extends IG2Config {
|
|
1869
805
|
}
|
|
1870
806
|
export interface IdentityBindingAskEvents extends IG2Events {
|
|
@@ -1886,7 +822,7 @@ declare module '@authing/react-ui-components/components/IdentityBindingAsk/inter
|
|
|
1886
822
|
}
|
|
1887
823
|
|
|
1888
824
|
}
|
|
1889
|
-
declare module '@authing/react-ui-components/
|
|
825
|
+
declare module '@authing/react-ui-components/ImagePro/index' {
|
|
1890
826
|
import React from 'react';
|
|
1891
827
|
import './styles.less';
|
|
1892
828
|
export interface ImageProProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
@@ -1903,7 +839,7 @@ declare module '@authing/react-ui-components/components/ImagePro/index' {
|
|
|
1903
839
|
export const ImagePro: (props: ImageProProps) => JSX.Element;
|
|
1904
840
|
|
|
1905
841
|
}
|
|
1906
|
-
declare module '@authing/react-ui-components/
|
|
842
|
+
declare module '@authing/react-ui-components/InputNumber/index' {
|
|
1907
843
|
import { InputProps } from 'antd/lib/input';
|
|
1908
844
|
import React from 'react';
|
|
1909
845
|
export interface InputNumberProps extends InputProps {
|
|
@@ -1911,21 +847,21 @@ declare module '@authing/react-ui-components/components/InputNumber/index' {
|
|
|
1911
847
|
export const InputNumber: React.ForwardRefExoticComponent<InputNumberProps & React.RefAttributes<any>>;
|
|
1912
848
|
|
|
1913
849
|
}
|
|
1914
|
-
declare module '@authing/react-ui-components/
|
|
850
|
+
declare module '@authing/react-ui-components/InputPassword/index' {
|
|
1915
851
|
import { Input } from 'antd';
|
|
1916
852
|
import { PasswordProps } from 'antd/lib/input';
|
|
1917
853
|
import React from 'react';
|
|
1918
854
|
export const InputPassword: React.ForwardRefExoticComponent<PasswordProps & React.RefAttributes<React.RefObject<Input>>>;
|
|
1919
855
|
|
|
1920
856
|
}
|
|
1921
|
-
declare module '@authing/react-ui-components/
|
|
1922
|
-
import { GuardModuleAction } from '@authing/react-ui-components/
|
|
857
|
+
declare module '@authing/react-ui-components/Login/codemap' {
|
|
858
|
+
import { GuardModuleAction } from '@authing/react-ui-components/Guard/module';
|
|
1923
859
|
export const codeMap: Record<number, GuardModuleAction>;
|
|
1924
860
|
|
|
1925
861
|
}
|
|
1926
|
-
declare module '@authing/react-ui-components/
|
|
862
|
+
declare module '@authing/react-ui-components/Login/core/withAD' {
|
|
1927
863
|
/// <reference types="react" />
|
|
1928
|
-
import { Agreement } from '@authing/react-ui-components/
|
|
864
|
+
import { Agreement } from '@authing/react-ui-components/Type/application';
|
|
1929
865
|
interface LoginWithADProps {
|
|
1930
866
|
publicKey: string;
|
|
1931
867
|
autoRegister?: boolean;
|
|
@@ -1938,7 +874,7 @@ declare module '@authing/react-ui-components/components/Login/core/withAD' {
|
|
|
1938
874
|
export {};
|
|
1939
875
|
|
|
1940
876
|
}
|
|
1941
|
-
declare module '@authing/react-ui-components/
|
|
877
|
+
declare module '@authing/react-ui-components/Login/core/withAppQrcode' {
|
|
1942
878
|
/// <reference types="react" />
|
|
1943
879
|
interface LoginWithAppQrcodeProps {
|
|
1944
880
|
onLoginSuccess: any;
|
|
@@ -1949,9 +885,9 @@ declare module '@authing/react-ui-components/components/Login/core/withAppQrcode
|
|
|
1949
885
|
export {};
|
|
1950
886
|
|
|
1951
887
|
}
|
|
1952
|
-
declare module '@authing/react-ui-components/
|
|
888
|
+
declare module '@authing/react-ui-components/Login/core/withLDAP' {
|
|
1953
889
|
/// <reference types="react" />
|
|
1954
|
-
import { Agreement } from '@authing/react-ui-components/
|
|
890
|
+
import { Agreement } from '@authing/react-ui-components/Type/application';
|
|
1955
891
|
interface LoginWithLDAPProps {
|
|
1956
892
|
publicKey: string;
|
|
1957
893
|
autoRegister?: boolean;
|
|
@@ -1965,17 +901,17 @@ declare module '@authing/react-ui-components/components/Login/core/withLDAP' {
|
|
|
1965
901
|
export {};
|
|
1966
902
|
|
|
1967
903
|
}
|
|
1968
|
-
declare module '@authing/react-ui-components/
|
|
904
|
+
declare module '@authing/react-ui-components/Login/core/withPassword/FormItemAccount' {
|
|
1969
905
|
import { FormItemProps } from 'antd/lib/form';
|
|
1970
906
|
import React from 'react';
|
|
1971
|
-
import { PasswordLoginMethods } from '@authing/react-ui-components/
|
|
907
|
+
import { PasswordLoginMethods } from '@authing/react-ui-components/Type/application';
|
|
1972
908
|
export interface FormItemAccountProps extends FormItemProps {
|
|
1973
909
|
passwordLoginMethods: PasswordLoginMethods[];
|
|
1974
910
|
}
|
|
1975
911
|
export const FormItemAccount: React.FC<FormItemAccountProps>;
|
|
1976
912
|
|
|
1977
913
|
}
|
|
1978
|
-
declare module '@authing/react-ui-components/
|
|
914
|
+
declare module '@authing/react-ui-components/Login/core/withPassword/GraphicVerifyCode' {
|
|
1979
915
|
import { InputProps } from 'antd/lib/input';
|
|
1980
916
|
import React from 'react';
|
|
1981
917
|
export interface GraphicVerifyCodeProps extends InputProps {
|
|
@@ -1985,21 +921,20 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
|
|
|
1985
921
|
export const GraphicVerifyCode: React.FC<GraphicVerifyCodeProps>;
|
|
1986
922
|
|
|
1987
923
|
}
|
|
1988
|
-
declare module '@authing/react-ui-components/
|
|
924
|
+
declare module '@authing/react-ui-components/Login/core/withPassword/InputAccount' {
|
|
1989
925
|
import { InputProps } from 'antd/lib/input';
|
|
1990
926
|
import React from 'react';
|
|
1991
|
-
import { PasswordLoginMethods } from '@authing/react-ui-components/
|
|
927
|
+
import { PasswordLoginMethods } from '@authing/react-ui-components/Type/application';
|
|
1992
928
|
export interface InputAccountProps extends InputProps {
|
|
1993
929
|
passwordLoginMethods: PasswordLoginMethods[];
|
|
1994
930
|
}
|
|
1995
931
|
export const InputAccount: React.FC<InputAccountProps>;
|
|
1996
932
|
|
|
1997
933
|
}
|
|
1998
|
-
declare module '@authing/react-ui-components/
|
|
934
|
+
declare module '@authing/react-ui-components/Login/core/withPassword/index' {
|
|
1999
935
|
/// <reference types="react" />
|
|
2000
|
-
import {
|
|
2001
|
-
import { LoginMethods } from '@authing/react-ui-components/
|
|
2002
|
-
import { AuthingResponse } from '@authing/react-ui-components/components/_utils/http';
|
|
936
|
+
import { AuthingResponse } from '@authing/react-ui-components/_utils/http';
|
|
937
|
+
import { Agreement, LoginMethods, PasswordLoginMethods } from '@authing/react-ui-components/Type/application';
|
|
2003
938
|
interface LoginWithPasswordProps {
|
|
2004
939
|
publicKey: string;
|
|
2005
940
|
autoRegister?: boolean;
|
|
@@ -2018,10 +953,10 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
|
|
|
2018
953
|
export {};
|
|
2019
954
|
|
|
2020
955
|
}
|
|
2021
|
-
declare module '@authing/react-ui-components/
|
|
956
|
+
declare module '@authing/react-ui-components/Login/core/withVerifyCode/FormItemIdentify' {
|
|
2022
957
|
import { FormItemProps } from 'antd/lib/form';
|
|
2023
958
|
import React from 'react';
|
|
2024
|
-
import { VerifyLoginMethods } from '@authing/react-ui-components/
|
|
959
|
+
import { VerifyLoginMethods } from '@authing/react-ui-components/Type/application';
|
|
2025
960
|
export interface FormItemIdentifyProps extends FormItemProps {
|
|
2026
961
|
checkRepeat?: boolean;
|
|
2027
962
|
checkExist?: boolean;
|
|
@@ -2032,7 +967,7 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
|
|
|
2032
967
|
export const FormItemIdentify: React.FC<FormItemIdentifyProps>;
|
|
2033
968
|
|
|
2034
969
|
}
|
|
2035
|
-
declare module '@authing/react-ui-components/
|
|
970
|
+
declare module '@authing/react-ui-components/Login/core/withVerifyCode/InputInternationPhone' {
|
|
2036
971
|
import { InputProps } from 'antd/lib/input';
|
|
2037
972
|
import React from 'react';
|
|
2038
973
|
export interface InputInternationPhoneProps extends InputProps {
|
|
@@ -2042,7 +977,7 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
|
|
|
2042
977
|
export const InputInternationPhone: React.FC<InputInternationPhoneProps>;
|
|
2043
978
|
|
|
2044
979
|
}
|
|
2045
|
-
declare module '@authing/react-ui-components/
|
|
980
|
+
declare module '@authing/react-ui-components/Login/core/withVerifyCode/VirtualDropdown' {
|
|
2046
981
|
import React, { FC } from 'react';
|
|
2047
982
|
import './styles.less';
|
|
2048
983
|
export interface VirtualDropdownProps {
|
|
@@ -2053,23 +988,23 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
|
|
|
2053
988
|
export const VirtualDropdown: FC<VirtualDropdownProps>;
|
|
2054
989
|
|
|
2055
990
|
}
|
|
2056
|
-
declare module '@authing/react-ui-components/
|
|
991
|
+
declare module '@authing/react-ui-components/Login/core/withVerifyCode/index' {
|
|
2057
992
|
/// <reference types="react" />
|
|
2058
993
|
import './styles.less';
|
|
2059
994
|
export const LoginWithVerifyCode: (props: any) => JSX.Element;
|
|
2060
995
|
|
|
2061
996
|
}
|
|
2062
|
-
declare module '@authing/react-ui-components/
|
|
997
|
+
declare module '@authing/react-ui-components/Login/core/withVerifyCode/inputIdentify' {
|
|
2063
998
|
import { InputProps } from 'antd/lib/input';
|
|
2064
999
|
import React from 'react';
|
|
2065
|
-
import { VerifyLoginMethods } from '@authing/react-ui-components/
|
|
1000
|
+
import { VerifyLoginMethods } from '@authing/react-ui-components/Type/application';
|
|
2066
1001
|
export interface InputIdentifyProps extends InputProps {
|
|
2067
1002
|
methods: VerifyLoginMethods[];
|
|
2068
1003
|
}
|
|
2069
1004
|
export const InputIdentify: React.FC<InputIdentifyProps>;
|
|
2070
1005
|
|
|
2071
1006
|
}
|
|
2072
|
-
declare module '@authing/react-ui-components/
|
|
1007
|
+
declare module '@authing/react-ui-components/Login/core/withWechatMiniQrcode' {
|
|
2073
1008
|
/// <reference types="react" />
|
|
2074
1009
|
interface LoginWithWechatMiniQrcodeProps {
|
|
2075
1010
|
onLoginSuccess: any;
|
|
@@ -2080,7 +1015,7 @@ declare module '@authing/react-ui-components/components/Login/core/withWechatMin
|
|
|
2080
1015
|
export {};
|
|
2081
1016
|
|
|
2082
1017
|
}
|
|
2083
|
-
declare module '@authing/react-ui-components/
|
|
1018
|
+
declare module '@authing/react-ui-components/Login/core/withWechatmpQrcode' {
|
|
2084
1019
|
/// <reference types="react" />
|
|
2085
1020
|
interface LoginWithWechatmpQrcodeProps {
|
|
2086
1021
|
onLoginSuccess: any;
|
|
@@ -2091,19 +1026,17 @@ declare module '@authing/react-ui-components/components/Login/core/withWechatmpQ
|
|
|
2091
1026
|
export {};
|
|
2092
1027
|
|
|
2093
1028
|
}
|
|
2094
|
-
declare module '@authing/react-ui-components/
|
|
1029
|
+
declare module '@authing/react-ui-components/Login/index' {
|
|
2095
1030
|
/// <reference types="react" />
|
|
2096
1031
|
import './styles.less';
|
|
2097
1032
|
export const GuardLoginView: () => JSX.Element;
|
|
2098
1033
|
|
|
2099
1034
|
}
|
|
2100
|
-
declare module '@authing/react-ui-components/
|
|
2101
|
-
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/
|
|
2102
|
-
import { SocialConnectionProvider } from 'authing-js-sdk';
|
|
1035
|
+
declare module '@authing/react-ui-components/Login/interface' {
|
|
1036
|
+
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/Type/index';
|
|
1037
|
+
import { AuthenticationClient, SocialConnectionProvider, User } from 'authing-js-sdk';
|
|
2103
1038
|
import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
|
|
2104
|
-
import { Agreement, PasswordLoginMethods } from '@authing/react-ui-components/
|
|
2105
|
-
import { PasswordLoginParams, LDAPLoginParams, ADLoginParams, PhoneCodeLoginParams, AuthenticationClient, User } from '@authing/react-ui-components/components/index';
|
|
2106
|
-
import { LoginMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
1039
|
+
import { Agreement, LoginMethods, PasswordLoginMethods } from '@authing/react-ui-components/Type/application';
|
|
2107
1040
|
export interface LoginConfig extends IG2Config {
|
|
2108
1041
|
autoRegister?: boolean;
|
|
2109
1042
|
disableResetPwd?: boolean;
|
|
@@ -2123,7 +1056,7 @@ declare module '@authing/react-ui-components/components/Login/interface' {
|
|
|
2123
1056
|
onLogin?: (user: User, authClient: AuthenticationClient) => void;
|
|
2124
1057
|
onLoginError?: (errorMessages: any) => void;
|
|
2125
1058
|
onLoginTabChange?: (activeTab: LoginMethods) => void;
|
|
2126
|
-
onBeforeLogin?: (loginInfo:
|
|
1059
|
+
onBeforeLogin?: (loginInfo: any, authClient: AuthenticationClient) => boolean | Promise<boolean>;
|
|
2127
1060
|
}
|
|
2128
1061
|
export interface GuardLoginProps extends IG2FCProps, LoginEvents {
|
|
2129
1062
|
config?: Partial<LoginConfig>;
|
|
@@ -2139,16 +1072,16 @@ declare module '@authing/react-ui-components/components/Login/interface' {
|
|
|
2139
1072
|
export const getDefaultLoginConfig: () => LoginConfig;
|
|
2140
1073
|
|
|
2141
1074
|
}
|
|
2142
|
-
declare module '@authing/react-ui-components/
|
|
1075
|
+
declare module '@authing/react-ui-components/Login/socialLogin/IdpButton/index' {
|
|
2143
1076
|
/// <reference types="react" />
|
|
2144
1077
|
export const IdpButton: (props: any) => JSX.Element | null;
|
|
2145
1078
|
|
|
2146
1079
|
}
|
|
2147
|
-
declare module '@authing/react-ui-components/
|
|
1080
|
+
declare module '@authing/react-ui-components/Login/socialLogin/index' {
|
|
2148
1081
|
import React from 'react';
|
|
2149
|
-
import { ApplicationConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2150
1082
|
import './style.less';
|
|
2151
|
-
import { GuardLocalConfig } from '@authing/react-ui-components/
|
|
1083
|
+
import { GuardLocalConfig } from '@authing/react-ui-components/Guard/index';
|
|
1084
|
+
import { ApplicationConfig, SocialConnectionItem } from '@authing/react-ui-components/Type/application';
|
|
2152
1085
|
export interface SocialLoginProps {
|
|
2153
1086
|
appId: string;
|
|
2154
1087
|
config: GuardLocalConfig;
|
|
@@ -2160,17 +1093,17 @@ declare module '@authing/react-ui-components/components/Login/socialLogin/index'
|
|
|
2160
1093
|
export const SocialLogin: React.FC<SocialLoginProps>;
|
|
2161
1094
|
|
|
2162
1095
|
}
|
|
2163
|
-
declare module '@authing/react-ui-components/
|
|
2164
|
-
import { AuthingResponse } from '@authing/react-ui-components/
|
|
2165
|
-
export const usePostMessage: () => (evt: MessageEvent) => import("@authing/react-ui-components/
|
|
1096
|
+
declare module '@authing/react-ui-components/Login/socialLogin/postMessage' {
|
|
1097
|
+
import { AuthingResponse } from '@authing/react-ui-components/_utils/http';
|
|
1098
|
+
export const usePostMessage: () => (evt: MessageEvent) => import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any> | {
|
|
2166
1099
|
code: any;
|
|
2167
1100
|
data: any;
|
|
2168
1101
|
onGuardHandling: undefined;
|
|
2169
1102
|
} | undefined;
|
|
2170
|
-
export const useErrorHandling: () => (res: AuthingResponse) => import("@authing/react-ui-components/
|
|
1103
|
+
export const useErrorHandling: () => (res: AuthingResponse) => import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>;
|
|
2171
1104
|
|
|
2172
1105
|
}
|
|
2173
|
-
declare module '@authing/react-ui-components/
|
|
1106
|
+
declare module '@authing/react-ui-components/MFA/VerifyCodeInput/VerifyCodeFormItem' {
|
|
2174
1107
|
import { FormItemProps } from 'antd/lib/form';
|
|
2175
1108
|
import React from 'react';
|
|
2176
1109
|
import './style.less';
|
|
@@ -2181,7 +1114,7 @@ declare module '@authing/react-ui-components/components/MFA/VerifyCodeInput/Veri
|
|
|
2181
1114
|
export const VerifyCodeFormItem: React.FC<VerifyCodeFormItemProps>;
|
|
2182
1115
|
|
|
2183
1116
|
}
|
|
2184
|
-
declare module '@authing/react-ui-components/
|
|
1117
|
+
declare module '@authing/react-ui-components/MFA/VerifyCodeInput/index' {
|
|
2185
1118
|
import React, { FC } from 'react';
|
|
2186
1119
|
import './style.less';
|
|
2187
1120
|
interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -2198,7 +1131,7 @@ declare module '@authing/react-ui-components/components/MFA/VerifyCodeInput/inde
|
|
|
2198
1131
|
export {};
|
|
2199
1132
|
|
|
2200
1133
|
}
|
|
2201
|
-
declare module '@authing/react-ui-components/
|
|
1134
|
+
declare module '@authing/react-ui-components/MFA/businessRequest' {
|
|
2202
1135
|
export enum MfaBusinessAction {
|
|
2203
1136
|
VerifyEmail = "verify-email",
|
|
2204
1137
|
VerifySms = "verify-sms",
|
|
@@ -2206,7 +1139,7 @@ declare module '@authing/react-ui-components/components/MFA/businessRequest' {
|
|
|
2206
1139
|
VerifyFace = "verify-face",
|
|
2207
1140
|
AssociateFace = "associate-face"
|
|
2208
1141
|
}
|
|
2209
|
-
export const authFlow: (action: MfaBusinessAction, content: any) => Promise<import("@authing/react-ui-components/
|
|
1142
|
+
export const authFlow: (action: MfaBusinessAction, content: any) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
2210
1143
|
interface VerifySmsContent {
|
|
2211
1144
|
phone: string;
|
|
2212
1145
|
code: string;
|
|
@@ -2232,29 +1165,29 @@ declare module '@authing/react-ui-components/components/MFA/businessRequest' {
|
|
|
2232
1165
|
isExternalPhoto?: boolean;
|
|
2233
1166
|
mfaToken?: string;
|
|
2234
1167
|
}
|
|
2235
|
-
export const VerifyEmail: (content: VerifyEmailContent) => Promise<import("@authing/react-ui-components/
|
|
2236
|
-
export const VerifySms: (content: VerifySmsContent) => Promise<import("@authing/react-ui-components/
|
|
2237
|
-
export const VerifyTotp: (content: VerifyTotpContent) => Promise<import("@authing/react-ui-components/
|
|
2238
|
-
export const VerifyFace: (content: VerifyFaceContent) => Promise<import("@authing/react-ui-components/
|
|
2239
|
-
export const AssociateFace: (content: AssociateFaceContent) => Promise<import("@authing/react-ui-components/
|
|
1168
|
+
export const VerifyEmail: (content: VerifyEmailContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1169
|
+
export const VerifySms: (content: VerifySmsContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1170
|
+
export const VerifyTotp: (content: VerifyTotpContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1171
|
+
export const VerifyFace: (content: VerifyFaceContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1172
|
+
export const AssociateFace: (content: AssociateFaceContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
2240
1173
|
export const useMfaBusinessRequest: () => {
|
|
2241
|
-
"verify-email": (content: VerifyEmailContent) => Promise<import("@authing/react-ui-components/
|
|
2242
|
-
"verify-sms": (content: VerifySmsContent) => Promise<import("@authing/react-ui-components/
|
|
2243
|
-
"verify-totp": (content: VerifyTotpContent) => Promise<import("@authing/react-ui-components/
|
|
2244
|
-
"verify-face": (content: VerifyFaceContent) => Promise<import("@authing/react-ui-components/
|
|
2245
|
-
"associate-face": (content: AssociateFaceContent) => Promise<import("@authing/react-ui-components/
|
|
1174
|
+
"verify-email": (content: VerifyEmailContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1175
|
+
"verify-sms": (content: VerifySmsContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1176
|
+
"verify-totp": (content: VerifyTotpContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1177
|
+
"verify-face": (content: VerifyFaceContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
1178
|
+
"associate-face": (content: AssociateFaceContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
|
|
2246
1179
|
};
|
|
2247
1180
|
export {};
|
|
2248
1181
|
|
|
2249
1182
|
}
|
|
2250
|
-
declare module '@authing/react-ui-components/
|
|
2251
|
-
import { GuardModuleAction } from '@authing/react-ui-components/
|
|
1183
|
+
declare module '@authing/react-ui-components/MFA/codemap' {
|
|
1184
|
+
import { GuardModuleAction } from '@authing/react-ui-components/Guard/module';
|
|
2252
1185
|
export const codeMap: Record<number, GuardModuleAction>;
|
|
2253
1186
|
|
|
2254
1187
|
}
|
|
2255
|
-
declare module '@authing/react-ui-components/
|
|
1188
|
+
declare module '@authing/react-ui-components/MFA/core/email' {
|
|
2256
1189
|
import React from 'react';
|
|
2257
|
-
import { MFAConfig } from '@authing/react-ui-components/
|
|
1190
|
+
import { MFAConfig } from '@authing/react-ui-components/MFA/interface';
|
|
2258
1191
|
interface BindMFAEmailProps {
|
|
2259
1192
|
mfaToken: string;
|
|
2260
1193
|
onBind: (email: string) => void;
|
|
@@ -2278,12 +1211,12 @@ declare module '@authing/react-ui-components/components/MFA/core/email' {
|
|
|
2278
1211
|
export {};
|
|
2279
1212
|
|
|
2280
1213
|
}
|
|
2281
|
-
declare module '@authing/react-ui-components/
|
|
1214
|
+
declare module '@authing/react-ui-components/MFA/core/face' {
|
|
2282
1215
|
/// <reference types="react" />
|
|
2283
1216
|
export const MFAFace: (props: any) => JSX.Element;
|
|
2284
1217
|
|
|
2285
1218
|
}
|
|
2286
|
-
declare module '@authing/react-ui-components/
|
|
1219
|
+
declare module '@authing/react-ui-components/MFA/core/face_deps' {
|
|
2287
1220
|
export const devicesConstraints: {
|
|
2288
1221
|
video: {
|
|
2289
1222
|
width: number;
|
|
@@ -2297,9 +1230,9 @@ declare module '@authing/react-ui-components/components/MFA/core/face_deps' {
|
|
|
2297
1230
|
export function dataURItoBlob(base64Data: any): Blob;
|
|
2298
1231
|
|
|
2299
1232
|
}
|
|
2300
|
-
declare module '@authing/react-ui-components/
|
|
1233
|
+
declare module '@authing/react-ui-components/MFA/core/sms' {
|
|
2301
1234
|
import React from 'react';
|
|
2302
|
-
import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/
|
|
1235
|
+
import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/MFA/interface';
|
|
2303
1236
|
export interface BindMFASmsProps {
|
|
2304
1237
|
mfaToken: string;
|
|
2305
1238
|
onBind: (phone: string) => void;
|
|
@@ -2328,9 +1261,9 @@ declare module '@authing/react-ui-components/components/MFA/core/sms' {
|
|
|
2328
1261
|
}>;
|
|
2329
1262
|
|
|
2330
1263
|
}
|
|
2331
|
-
declare module '@authing/react-ui-components/
|
|
1264
|
+
declare module '@authing/react-ui-components/MFA/core/totp' {
|
|
2332
1265
|
import React from 'react';
|
|
2333
|
-
import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/
|
|
1266
|
+
import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/MFA/interface';
|
|
2334
1267
|
export interface BindMFATotpProps {
|
|
2335
1268
|
initData: GuardMFAInitData;
|
|
2336
1269
|
changeModule: any;
|
|
@@ -2351,7 +1284,7 @@ declare module '@authing/react-ui-components/components/MFA/core/totp' {
|
|
|
2351
1284
|
export const MFATotp: React.FC<MFATotpProps>;
|
|
2352
1285
|
|
|
2353
1286
|
}
|
|
2354
|
-
declare module '@authing/react-ui-components/
|
|
1287
|
+
declare module '@authing/react-ui-components/MFA/index' {
|
|
2355
1288
|
import React from 'react';
|
|
2356
1289
|
import './styles.less';
|
|
2357
1290
|
interface MFABackStateContextType {
|
|
@@ -2363,9 +1296,9 @@ declare module '@authing/react-ui-components/components/MFA/index' {
|
|
|
2363
1296
|
export {};
|
|
2364
1297
|
|
|
2365
1298
|
}
|
|
2366
|
-
declare module '@authing/react-ui-components/
|
|
2367
|
-
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/
|
|
2368
|
-
import { AuthenticationClient, User } from '
|
|
1299
|
+
declare module '@authing/react-ui-components/MFA/interface' {
|
|
1300
|
+
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/Type/index';
|
|
1301
|
+
import { AuthenticationClient, User } from 'authing-js-sdk';
|
|
2369
1302
|
export interface MFAConfig extends IG2Config {
|
|
2370
1303
|
autoRegister: boolean;
|
|
2371
1304
|
}
|
|
@@ -2406,9 +1339,9 @@ declare module '@authing/react-ui-components/components/MFA/interface' {
|
|
|
2406
1339
|
}
|
|
2407
1340
|
|
|
2408
1341
|
}
|
|
2409
|
-
declare module '@authing/react-ui-components/
|
|
1342
|
+
declare module '@authing/react-ui-components/MFA/mfaMethods/index' {
|
|
2410
1343
|
import React from 'react';
|
|
2411
|
-
import { MFAType } from '@authing/react-ui-components/
|
|
1344
|
+
import { MFAType } from '@authing/react-ui-components/MFA/interface';
|
|
2412
1345
|
import './style.less';
|
|
2413
1346
|
export interface MFAMethodsProps {
|
|
2414
1347
|
method: MFAType;
|
|
@@ -2417,7 +1350,7 @@ declare module '@authing/react-ui-components/components/MFA/mfaMethods/index' {
|
|
|
2417
1350
|
export const MFAMethods: React.FC<MFAMethodsProps>;
|
|
2418
1351
|
|
|
2419
1352
|
}
|
|
2420
|
-
declare module '@authing/react-ui-components/
|
|
1353
|
+
declare module '@authing/react-ui-components/NeedHelpView/core/describeQuestions' {
|
|
2421
1354
|
/// <reference types="react" />
|
|
2422
1355
|
interface describeQuestionsProps {
|
|
2423
1356
|
appId: string;
|
|
@@ -2428,20 +1361,20 @@ declare module '@authing/react-ui-components/components/NeedHelpView/core/descri
|
|
|
2428
1361
|
export {};
|
|
2429
1362
|
|
|
2430
1363
|
}
|
|
2431
|
-
declare module '@authing/react-ui-components/
|
|
1364
|
+
declare module '@authing/react-ui-components/NeedHelpView/index' {
|
|
2432
1365
|
/// <reference types="react" />
|
|
2433
1366
|
export const GuardNeedHelpView: (props: any) => JSX.Element;
|
|
2434
1367
|
|
|
2435
1368
|
}
|
|
2436
|
-
declare module '@authing/react-ui-components/
|
|
1369
|
+
declare module '@authing/react-ui-components/RecoveryCode/businessRequest' {
|
|
2437
1370
|
export enum TotpRecoveryCodeBusinessAction {
|
|
2438
1371
|
RecoveryTotp = "recovery-totp",
|
|
2439
1372
|
ConfirmTotpRecoveryCode = "confirm-totp-recovery-code"
|
|
2440
1373
|
}
|
|
2441
|
-
export function authFlow<T>(action: TotpRecoveryCodeBusinessAction, content: any): Promise<import("@authing/react-ui-components/
|
|
1374
|
+
export function authFlow<T>(action: TotpRecoveryCodeBusinessAction, content: any): Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<T>>;
|
|
2442
1375
|
|
|
2443
1376
|
}
|
|
2444
|
-
declare module '@authing/react-ui-components/
|
|
1377
|
+
declare module '@authing/react-ui-components/RecoveryCode/core/saveCode' {
|
|
2445
1378
|
import React from 'react';
|
|
2446
1379
|
export const SaveCode: React.FC<{
|
|
2447
1380
|
secret: string;
|
|
@@ -2449,9 +1382,9 @@ declare module '@authing/react-ui-components/components/RecoveryCode/core/saveCo
|
|
|
2449
1382
|
}>;
|
|
2450
1383
|
|
|
2451
1384
|
}
|
|
2452
|
-
declare module '@authing/react-ui-components/
|
|
1385
|
+
declare module '@authing/react-ui-components/RecoveryCode/core/useCode' {
|
|
2453
1386
|
import React from 'react';
|
|
2454
|
-
import { User } from '
|
|
1387
|
+
import { User } from 'authing-js-sdk';
|
|
2455
1388
|
export interface UseCodeProps {
|
|
2456
1389
|
mfaToken: string;
|
|
2457
1390
|
onSubmit: (recoveryCode: string, user?: User) => void;
|
|
@@ -2459,7 +1392,7 @@ declare module '@authing/react-ui-components/components/RecoveryCode/core/useCod
|
|
|
2459
1392
|
export const UseCode: React.FC<UseCodeProps>;
|
|
2460
1393
|
|
|
2461
1394
|
}
|
|
2462
|
-
declare module '@authing/react-ui-components/
|
|
1395
|
+
declare module '@authing/react-ui-components/RecoveryCode/index' {
|
|
2463
1396
|
import React from 'react';
|
|
2464
1397
|
import './style.less';
|
|
2465
1398
|
export const RecoveryCode: React.FC;
|
|
@@ -2467,9 +1400,9 @@ declare module '@authing/react-ui-components/components/RecoveryCode/index' {
|
|
|
2467
1400
|
export const GuardRecoveryCodeView: React.FC;
|
|
2468
1401
|
|
|
2469
1402
|
}
|
|
2470
|
-
declare module '@authing/react-ui-components/
|
|
2471
|
-
import { IG2Config, IG2Events } from '@authing/react-ui-components/
|
|
2472
|
-
import { AuthenticationClient, User } from '
|
|
1403
|
+
declare module '@authing/react-ui-components/RecoveryCode/interface' {
|
|
1404
|
+
import { IG2Config, IG2Events } from '@authing/react-ui-components/Type/index';
|
|
1405
|
+
import { AuthenticationClient, User } from 'authing-js-sdk';
|
|
2473
1406
|
export interface RecoveryCodeConfig extends IG2Config {
|
|
2474
1407
|
}
|
|
2475
1408
|
export const getDefaultRecoveryCodeConfig: () => RecoveryCodeConfig;
|
|
@@ -2478,15 +1411,15 @@ declare module '@authing/react-ui-components/components/RecoveryCode/interface'
|
|
|
2478
1411
|
}
|
|
2479
1412
|
|
|
2480
1413
|
}
|
|
2481
|
-
declare module '@authing/react-ui-components/
|
|
2482
|
-
import { GuardModuleAction } from '@authing/react-ui-components/
|
|
1414
|
+
declare module '@authing/react-ui-components/Register/codemap' {
|
|
1415
|
+
import { GuardModuleAction } from '@authing/react-ui-components/Guard/module';
|
|
2483
1416
|
export const codeMap: Record<number, GuardModuleAction>;
|
|
2484
1417
|
|
|
2485
1418
|
}
|
|
2486
|
-
declare module '@authing/react-ui-components/
|
|
1419
|
+
declare module '@authing/react-ui-components/Register/components/Agreements/index' {
|
|
2487
1420
|
import React, { FC } from 'react';
|
|
2488
1421
|
import './style.less';
|
|
2489
|
-
import { Agreement } from '@authing/react-ui-components/
|
|
1422
|
+
import { Agreement } from '@authing/react-ui-components/Type/application';
|
|
2490
1423
|
export interface AgreementsProps {
|
|
2491
1424
|
value?: boolean;
|
|
2492
1425
|
onChange?: (value: boolean) => void;
|
|
@@ -2497,9 +1430,9 @@ declare module '@authing/react-ui-components/components/Register/components/Agre
|
|
|
2497
1430
|
export const Agreements: FC<AgreementsProps>;
|
|
2498
1431
|
|
|
2499
1432
|
}
|
|
2500
|
-
declare module '@authing/react-ui-components/
|
|
1433
|
+
declare module '@authing/react-ui-components/Register/core/WithCode' {
|
|
2501
1434
|
import React from 'react';
|
|
2502
|
-
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/
|
|
1435
|
+
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/Type/application';
|
|
2503
1436
|
export interface RegisterWithCodeProps {
|
|
2504
1437
|
onRegisterSuccess: Function;
|
|
2505
1438
|
onRegisterFailed: Function;
|
|
@@ -2509,17 +1442,12 @@ declare module '@authing/react-ui-components/components/Register/core/WithCode'
|
|
|
2509
1442
|
registeContext?: any;
|
|
2510
1443
|
methods: any[];
|
|
2511
1444
|
}
|
|
2512
|
-
/**
|
|
2513
|
-
* 手机 Code 注册
|
|
2514
|
-
* @param param0
|
|
2515
|
-
* @returns
|
|
2516
|
-
*/
|
|
2517
1445
|
export const RegisterWithCode: React.FC<RegisterWithCodeProps>;
|
|
2518
1446
|
|
|
2519
1447
|
}
|
|
2520
|
-
declare module '@authing/react-ui-components/
|
|
1448
|
+
declare module '@authing/react-ui-components/Register/core/WithEmail' {
|
|
2521
1449
|
import React from 'react';
|
|
2522
|
-
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/
|
|
1450
|
+
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/Type/application';
|
|
2523
1451
|
export interface RegisterWithEmailProps {
|
|
2524
1452
|
onRegisterSuccess: Function;
|
|
2525
1453
|
onRegisterFailed: Function;
|
|
@@ -2531,9 +1459,9 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
|
|
|
2531
1459
|
export const RegisterWithEmail: React.FC<RegisterWithEmailProps>;
|
|
2532
1460
|
|
|
2533
1461
|
}
|
|
2534
|
-
declare module '@authing/react-ui-components/
|
|
1462
|
+
declare module '@authing/react-ui-components/Register/core/WithEmailCode' {
|
|
2535
1463
|
import React from 'react';
|
|
2536
|
-
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/
|
|
1464
|
+
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/Type/application';
|
|
2537
1465
|
export interface RegisterWithEmailCodeProps {
|
|
2538
1466
|
onRegisterSuccess: Function;
|
|
2539
1467
|
onRegisterFailed: Function;
|
|
@@ -2545,9 +1473,9 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmailC
|
|
|
2545
1473
|
export const RegisterWithEmailCode: React.FC<RegisterWithEmailCodeProps>;
|
|
2546
1474
|
|
|
2547
1475
|
}
|
|
2548
|
-
declare module '@authing/react-ui-components/
|
|
1476
|
+
declare module '@authing/react-ui-components/Register/core/WithPhone' {
|
|
2549
1477
|
import React from 'react';
|
|
2550
|
-
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/
|
|
1478
|
+
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/Type/application';
|
|
2551
1479
|
export interface RegisterWithPhoneProps {
|
|
2552
1480
|
onRegisterSuccess: Function;
|
|
2553
1481
|
onRegisterFailed: Function;
|
|
@@ -2558,15 +1486,15 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
|
|
|
2558
1486
|
export const RegisterWithPhone: React.FC<RegisterWithPhoneProps>;
|
|
2559
1487
|
|
|
2560
1488
|
}
|
|
2561
|
-
declare module '@authing/react-ui-components/
|
|
1489
|
+
declare module '@authing/react-ui-components/Register/index' {
|
|
2562
1490
|
import React from 'react';
|
|
2563
1491
|
export const GuardRegisterView: React.FC;
|
|
2564
1492
|
|
|
2565
1493
|
}
|
|
2566
|
-
declare module '@authing/react-ui-components/
|
|
2567
|
-
import {
|
|
2568
|
-
import {
|
|
2569
|
-
import { Agreement } from '@authing/react-ui-components/
|
|
1494
|
+
declare module '@authing/react-ui-components/Register/interface' {
|
|
1495
|
+
import { AuthenticationClient, User } from 'authing-js-sdk';
|
|
1496
|
+
import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/Type/index';
|
|
1497
|
+
import { Agreement, RegisterMethods } from '@authing/react-ui-components/Type/application';
|
|
2570
1498
|
export interface RegisterConfig extends IG2Config {
|
|
2571
1499
|
disableRegister?: boolean;
|
|
2572
1500
|
registerMethods?: RegisterMethods[];
|
|
@@ -2577,7 +1505,7 @@ declare module '@authing/react-ui-components/components/Register/interface' {
|
|
|
2577
1505
|
registerContext?: any;
|
|
2578
1506
|
}
|
|
2579
1507
|
export interface RegisterEvents extends IG2Events {
|
|
2580
|
-
onBeforeRegister?: (registerInfo:
|
|
1508
|
+
onBeforeRegister?: (registerInfo: any, authClient: AuthenticationClient) => boolean | Promise<boolean>;
|
|
2581
1509
|
onRegister?: (user: User, authClient: AuthenticationClient) => void;
|
|
2582
1510
|
onRegisterError?: (error: any) => void;
|
|
2583
1511
|
onRegisterTabChange?: (activeTab: RegisterMethods) => void;
|
|
@@ -2591,11 +1519,11 @@ declare module '@authing/react-ui-components/components/Register/interface' {
|
|
|
2591
1519
|
export const getDefaultRegisterConfig: () => RegisterConfig;
|
|
2592
1520
|
|
|
2593
1521
|
}
|
|
2594
|
-
declare module '@authing/react-ui-components/
|
|
1522
|
+
declare module '@authing/react-ui-components/Register/utils' {
|
|
2595
1523
|
export const useIsChangeComplete: (currentMode: 'phone' | 'email') => boolean;
|
|
2596
1524
|
|
|
2597
1525
|
}
|
|
2598
|
-
declare module '@authing/react-ui-components/
|
|
1526
|
+
declare module '@authing/react-ui-components/SelfUnlock/core/selfUnlock' {
|
|
2599
1527
|
import React from 'react';
|
|
2600
1528
|
export enum InputMethodMap {
|
|
2601
1529
|
email = "email-code",
|
|
@@ -2606,14 +1534,14 @@ declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlo
|
|
|
2606
1534
|
}) => JSX.Element;
|
|
2607
1535
|
|
|
2608
1536
|
}
|
|
2609
|
-
declare module '@authing/react-ui-components/
|
|
1537
|
+
declare module '@authing/react-ui-components/SelfUnlock/index' {
|
|
2610
1538
|
import React from 'react';
|
|
2611
1539
|
export const GuardUnlockView: React.FC;
|
|
2612
1540
|
|
|
2613
1541
|
}
|
|
2614
|
-
declare module '@authing/react-ui-components/
|
|
2615
|
-
import { AuthenticationClient, CommonMessage } from '
|
|
2616
|
-
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/
|
|
1542
|
+
declare module '@authing/react-ui-components/SelfUnlock/interface' {
|
|
1543
|
+
import { AuthenticationClient, CommonMessage } from 'authing-js-sdk';
|
|
1544
|
+
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/Type/index';
|
|
2617
1545
|
export interface ForgetPasswordEvents extends IG2Events {
|
|
2618
1546
|
onPwdEmailSend?: (authClient: AuthenticationClient) => void;
|
|
2619
1547
|
onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
@@ -2629,7 +1557,7 @@ declare module '@authing/react-ui-components/components/SelfUnlock/interface' {
|
|
|
2629
1557
|
}
|
|
2630
1558
|
|
|
2631
1559
|
}
|
|
2632
|
-
declare module '@authing/react-ui-components/
|
|
1560
|
+
declare module '@authing/react-ui-components/SendCode/SendCodeBtn' {
|
|
2633
1561
|
import React, { FC } from 'react';
|
|
2634
1562
|
import './style.less';
|
|
2635
1563
|
import { ButtonProps } from 'antd/lib/button';
|
|
@@ -2642,11 +1570,11 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
|
|
|
2642
1570
|
export const SendCodeBtn: FC<SendCodeProps>;
|
|
2643
1571
|
|
|
2644
1572
|
}
|
|
2645
|
-
declare module '@authing/react-ui-components/
|
|
1573
|
+
declare module '@authing/react-ui-components/SendCode/SendCodeByEmail' {
|
|
2646
1574
|
import { FC } from 'react';
|
|
2647
1575
|
import './style.less';
|
|
2648
1576
|
import { InputProps } from 'antd/lib/input';
|
|
2649
|
-
import { EmailScene } from '@authing/react-ui-components/
|
|
1577
|
+
import { EmailScene } from '@authing/react-ui-components/Type/index';
|
|
2650
1578
|
export interface SendCodeByEmailProps extends InputProps {
|
|
2651
1579
|
data?: string;
|
|
2652
1580
|
form?: any;
|
|
@@ -2658,7 +1586,7 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeByEmail
|
|
|
2658
1586
|
export const SendCodeByEmail: FC<SendCodeByEmailProps>;
|
|
2659
1587
|
|
|
2660
1588
|
}
|
|
2661
|
-
declare module '@authing/react-ui-components/
|
|
1589
|
+
declare module '@authing/react-ui-components/SendCode/SendCodeByPhone' {
|
|
2662
1590
|
import { FC } from 'react';
|
|
2663
1591
|
import { SceneType } from 'authing-js-sdk';
|
|
2664
1592
|
import './style.less';
|
|
@@ -2676,7 +1604,7 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeByPhone
|
|
|
2676
1604
|
export const SendCodeByPhone: FC<SendCodeByPhoneProps>;
|
|
2677
1605
|
|
|
2678
1606
|
}
|
|
2679
|
-
declare module '@authing/react-ui-components/
|
|
1607
|
+
declare module '@authing/react-ui-components/SendCode/index' {
|
|
2680
1608
|
import { FC } from 'react';
|
|
2681
1609
|
import './style.less';
|
|
2682
1610
|
import { InputProps } from 'antd/lib/input';
|
|
@@ -2688,7 +1616,7 @@ declare module '@authing/react-ui-components/components/SendCode/index' {
|
|
|
2688
1616
|
export const SendCode: FC<SendPhoneCodeProps>;
|
|
2689
1617
|
|
|
2690
1618
|
}
|
|
2691
|
-
declare module '@authing/react-ui-components/
|
|
1619
|
+
declare module '@authing/react-ui-components/ShieldSpin/index' {
|
|
2692
1620
|
/// <reference types="react" />
|
|
2693
1621
|
interface IG2SpinProps {
|
|
2694
1622
|
size?: number;
|
|
@@ -2698,19 +1626,19 @@ declare module '@authing/react-ui-components/components/ShieldSpin/index' {
|
|
|
2698
1626
|
export {};
|
|
2699
1627
|
|
|
2700
1628
|
}
|
|
2701
|
-
declare module '@authing/react-ui-components/
|
|
1629
|
+
declare module '@authing/react-ui-components/SingleComponent/SingleComponent' {
|
|
2702
1630
|
/// <reference types="react" />
|
|
2703
|
-
import { GuardModuleType, IG2FCProps } from '@authing/react-ui-components/
|
|
1631
|
+
import { GuardModuleType, IG2FCProps } from '@authing/react-ui-components/index';
|
|
2704
1632
|
export function SingleComponent<T extends IG2FCProps>(props: T, guardModuleType: GuardModuleType, initData?: any): JSX.Element;
|
|
2705
1633
|
|
|
2706
1634
|
}
|
|
2707
|
-
declare module '@authing/react-ui-components/
|
|
1635
|
+
declare module '@authing/react-ui-components/SingleComponent/index' {
|
|
2708
1636
|
import React from 'react';
|
|
2709
|
-
import { GuardRegisterProps } from '@authing/react-ui-components/
|
|
1637
|
+
import { GuardRegisterProps } from '@authing/react-ui-components/Register/interface';
|
|
2710
1638
|
export const Register: React.FC<GuardRegisterProps>;
|
|
2711
1639
|
|
|
2712
1640
|
}
|
|
2713
|
-
declare module '@authing/react-ui-components/
|
|
1641
|
+
declare module '@authing/react-ui-components/SubmitButton/index' {
|
|
2714
1642
|
import React from 'react';
|
|
2715
1643
|
import { ButtonProps } from 'antd/lib/button';
|
|
2716
1644
|
interface SubmitButtonProps extends ButtonProps {
|
|
@@ -2719,42 +1647,300 @@ declare module '@authing/react-ui-components/components/SubmitButton/index' {
|
|
|
2719
1647
|
onClick?: any;
|
|
2720
1648
|
disabled?: boolean;
|
|
2721
1649
|
}
|
|
2722
|
-
const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
|
|
2723
|
-
export default _default;
|
|
2724
|
-
|
|
2725
|
-
}
|
|
2726
|
-
declare module '@authing/react-ui-components/
|
|
2727
|
-
import React from 'react';
|
|
2728
|
-
export const GuardSubmitSuccessView: React.FC;
|
|
2729
|
-
|
|
2730
|
-
}
|
|
2731
|
-
declare module '@authing/react-ui-components/
|
|
2732
|
-
import { GuardModuleType } from '@authing/react-ui-components/
|
|
2733
|
-
import { IG2Config, IG2Events, IG2FCViewProps } from '@authing/react-ui-components/
|
|
2734
|
-
export interface SubmitSuccessEvents extends IG2Events {
|
|
1650
|
+
const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
|
|
1651
|
+
export default _default;
|
|
1652
|
+
|
|
1653
|
+
}
|
|
1654
|
+
declare module '@authing/react-ui-components/SubmitSuccess/index' {
|
|
1655
|
+
import React from 'react';
|
|
1656
|
+
export const GuardSubmitSuccessView: React.FC;
|
|
1657
|
+
|
|
1658
|
+
}
|
|
1659
|
+
declare module '@authing/react-ui-components/SubmitSuccess/interface' {
|
|
1660
|
+
import { GuardModuleType } from '@authing/react-ui-components/Guard/index';
|
|
1661
|
+
import { IG2Config, IG2Events, IG2FCViewProps } from '@authing/react-ui-components/Type/index';
|
|
1662
|
+
export interface SubmitSuccessEvents extends IG2Events {
|
|
1663
|
+
}
|
|
1664
|
+
export interface SubmitSuccessConfig extends IG2Config {
|
|
1665
|
+
}
|
|
1666
|
+
export interface SubmitSuccessInitData {
|
|
1667
|
+
title?: string;
|
|
1668
|
+
message?: string;
|
|
1669
|
+
text?: string;
|
|
1670
|
+
countDesc?: string;
|
|
1671
|
+
changeModule?: GuardModuleType;
|
|
1672
|
+
}
|
|
1673
|
+
export interface GuardSubmitSuccessViewProps extends IG2FCViewProps, SubmitSuccessEvents {
|
|
1674
|
+
config: SubmitSuccessConfig;
|
|
1675
|
+
initData?: SubmitSuccessInitData;
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
}
|
|
1679
|
+
declare module '@authing/react-ui-components/Type/application' {
|
|
1680
|
+
import { Lang } from '@authing/react-ui-components/index';
|
|
1681
|
+
import { PasswordStrength } from '@authing/react-ui-components/_utils/index';
|
|
1682
|
+
export enum LoginMethods {
|
|
1683
|
+
LDAP = "ldap",
|
|
1684
|
+
AppQr = "app-qrcode",
|
|
1685
|
+
Password = "password",
|
|
1686
|
+
PhoneCode = "phone-code",
|
|
1687
|
+
WxMinQr = "wechat-miniprogram-qrcode",
|
|
1688
|
+
AD = "ad",
|
|
1689
|
+
WechatMpQrcode = "wechatmp-qrcode"
|
|
1690
|
+
}
|
|
1691
|
+
export enum OIDCConnectionMode {
|
|
1692
|
+
FRONT_CHANNEL = "FRONT_CHANNEL",
|
|
1693
|
+
BACK_CHANNEL = "BACK_CHANNEL"
|
|
1694
|
+
}
|
|
1695
|
+
export enum SocialConnectionProvider {
|
|
1696
|
+
ALIPAY = "alipay",
|
|
1697
|
+
GOOGLE = "google",
|
|
1698
|
+
WECHATPC = "wechat:pc",
|
|
1699
|
+
WECHATMP = "wechat:webpage-authorization",
|
|
1700
|
+
WECHAT_MINIPROGRAM = "wechat:miniprogram:default",
|
|
1701
|
+
WECHAT_MINIPROGRAM_QRCODE = "wechat:miniprogram:qrconnect",
|
|
1702
|
+
WECHAT_MINIPROGRAM_APPLAUNCH = "wechat:miniprogram:app-launch",
|
|
1703
|
+
WECHATMOBILE = "wechat:mobile",
|
|
1704
|
+
GITHUB = "github",
|
|
1705
|
+
QQ = "qq",
|
|
1706
|
+
WECHATWORK_ADDRESS_BOOK = "wechatwork:addressbook",
|
|
1707
|
+
WECHATWORK_CORP_QRCONNECT = "wechatwork:corp:qrconnect",
|
|
1708
|
+
WECHATWORK_SERVICEPROVIDER_QRCONNECT = "wechatwork:service-provider:qrconnect",
|
|
1709
|
+
DINGTALK = "dingtalk",
|
|
1710
|
+
WEIBO = "weibo",
|
|
1711
|
+
APPLE = "apple",
|
|
1712
|
+
APPLE_WEB = "apple:web",
|
|
1713
|
+
LARK_PUBLIC = "lark-public",
|
|
1714
|
+
LARK_INTERNAL = "lark-internal",
|
|
1715
|
+
BAIDU = "baidu",
|
|
1716
|
+
LINKEDIN = "linkedin",
|
|
1717
|
+
SLACK = "slack",
|
|
1718
|
+
YIDUN = "yidun",
|
|
1719
|
+
QINGCLOUD = "qingcloud",
|
|
1720
|
+
FACEBOOK = "facebook"
|
|
1721
|
+
}
|
|
1722
|
+
export enum Protocol {
|
|
1723
|
+
AD = "ad",
|
|
1724
|
+
CAS = "cas",
|
|
1725
|
+
LDAP = "ldap",
|
|
1726
|
+
OIDC = "oidc",
|
|
1727
|
+
SAML = "saml",
|
|
1728
|
+
OAUTH = "oauth",
|
|
1729
|
+
AZURE_AD = "azure-ad"
|
|
1730
|
+
}
|
|
1731
|
+
export interface IOAuthConnectionConfig {
|
|
1732
|
+
authEndPoint: string;
|
|
1733
|
+
tokenEndPoint: string;
|
|
1734
|
+
scope: string;
|
|
1735
|
+
clientId: string;
|
|
1736
|
+
clientSecret: string;
|
|
1737
|
+
authUrlTemplate: string;
|
|
1738
|
+
codeToTokenScript: string;
|
|
1739
|
+
tokenToUserInfoScript: string;
|
|
1740
|
+
tokenToUserInfoScriptFuncId: string;
|
|
1741
|
+
codeToTokenScriptFuncId: string;
|
|
1742
|
+
authUrl?: string;
|
|
1743
|
+
}
|
|
1744
|
+
export interface IAzureAdConnectionConfig {
|
|
1745
|
+
microsoftAzureAdDomain: string;
|
|
1746
|
+
clientId: string;
|
|
1747
|
+
syncUserProfileOnLogin: string;
|
|
1748
|
+
emailVerifiedDefault: boolean;
|
|
1749
|
+
authorizationUrl: string;
|
|
1750
|
+
callbackUrl: string;
|
|
1751
|
+
}
|
|
1752
|
+
export interface ISamlConnectionConfig {
|
|
1753
|
+
signInEndPoint: string;
|
|
1754
|
+
samlRequest?: string;
|
|
1755
|
+
samlIdpCert: string;
|
|
1756
|
+
samlSpCert: string;
|
|
1757
|
+
samlSpKey: string;
|
|
1758
|
+
signOutEndPoint: string;
|
|
1759
|
+
signSamlRequest: boolean;
|
|
1760
|
+
signatureAlgorithm: string;
|
|
1761
|
+
digestAlgorithm: string;
|
|
1762
|
+
protocolBinding: string;
|
|
1763
|
+
}
|
|
1764
|
+
export interface ICasConnectionConfig {
|
|
1765
|
+
casConnectionLoginUrl: string;
|
|
1766
|
+
}
|
|
1767
|
+
export interface SocialConnectionItem {
|
|
1768
|
+
name: string;
|
|
1769
|
+
name_en: string;
|
|
1770
|
+
displayName: string;
|
|
1771
|
+
logo: string;
|
|
1772
|
+
description: string;
|
|
1773
|
+
identifier: string;
|
|
1774
|
+
provider: SocialConnectionProvider;
|
|
1775
|
+
authorizationUrl: string;
|
|
1776
|
+
tooltip: Record<Lang, string>;
|
|
1777
|
+
}
|
|
1778
|
+
export enum RegisterMethods {
|
|
1779
|
+
Email = "email",
|
|
1780
|
+
Phone = "phone",
|
|
1781
|
+
EmailCode = "emailCode"
|
|
1782
|
+
}
|
|
1783
|
+
export type QrcodeTabsSettings = Record<LoginMethods, Array<{
|
|
1784
|
+
id: string;
|
|
1785
|
+
title: string;
|
|
1786
|
+
isDefault?: boolean;
|
|
1787
|
+
}>>;
|
|
1788
|
+
export interface OidcClientMetadata {
|
|
1789
|
+
grant_types: string[];
|
|
1790
|
+
client_id: string;
|
|
1791
|
+
redirect_uris: string[];
|
|
1792
|
+
scope: string;
|
|
1793
|
+
response_types: ResponseType[];
|
|
1794
|
+
}
|
|
1795
|
+
export interface OIDCConnectionConfig {
|
|
1796
|
+
issuerUrl: string;
|
|
1797
|
+
authorizationEdpoint: string;
|
|
1798
|
+
responseType: string;
|
|
1799
|
+
mode: OIDCConnectionMode;
|
|
1800
|
+
clientId: string;
|
|
1801
|
+
clientSecret: string;
|
|
1802
|
+
scopes: string;
|
|
1803
|
+
redirectUri: string;
|
|
1804
|
+
}
|
|
1805
|
+
export interface InternalExtendsField {
|
|
1806
|
+
type: 'internal';
|
|
1807
|
+
name: string;
|
|
1808
|
+
label: string;
|
|
1809
|
+
inputType: string;
|
|
1810
|
+
required: boolean;
|
|
1811
|
+
validateRules: any[];
|
|
1812
|
+
}
|
|
1813
|
+
export interface UserExtendsField {
|
|
1814
|
+
type: 'user';
|
|
1815
|
+
id: string;
|
|
1816
|
+
name: string;
|
|
1817
|
+
label: string;
|
|
1818
|
+
inputType: string;
|
|
1819
|
+
required: boolean;
|
|
1820
|
+
validateRules: any[];
|
|
2735
1821
|
}
|
|
2736
|
-
export
|
|
1822
|
+
export type ExtendsField = InternalExtendsField | UserExtendsField;
|
|
1823
|
+
export interface ApplicationPasswordTabConfig {
|
|
1824
|
+
enabledLoginMethods?: PasswordLoginMethods[];
|
|
2737
1825
|
}
|
|
2738
|
-
export interface
|
|
2739
|
-
|
|
2740
|
-
message?: string;
|
|
2741
|
-
text?: string;
|
|
2742
|
-
countDesc?: string;
|
|
2743
|
-
changeModule?: GuardModuleType;
|
|
1826
|
+
export interface ApplicationVerifyCodeTabConfig {
|
|
1827
|
+
enabledLoginMethods: VerifyLoginMethods[];
|
|
2744
1828
|
}
|
|
2745
|
-
export interface
|
|
2746
|
-
|
|
2747
|
-
|
|
1829
|
+
export interface Agreement {
|
|
1830
|
+
id: number;
|
|
1831
|
+
title: string;
|
|
1832
|
+
required: boolean;
|
|
1833
|
+
lang: Lang;
|
|
1834
|
+
availableAt?: number;
|
|
1835
|
+
}
|
|
1836
|
+
export type PasswordLoginMethods = 'username-password' | 'email-password' | 'phone-password';
|
|
1837
|
+
export type VerifyLoginMethods = 'email-code' | 'phone-code';
|
|
1838
|
+
export type ComplateFiledsPlace = 'register' | 'login';
|
|
1839
|
+
export interface ApplicationConfig {
|
|
1840
|
+
id: string;
|
|
1841
|
+
allowedOrigins: string[];
|
|
1842
|
+
corsWhitelist: string[];
|
|
1843
|
+
cdnBase: string;
|
|
1844
|
+
userPoolId: string;
|
|
1845
|
+
rootUserPoolId: string;
|
|
1846
|
+
publicKey: string;
|
|
1847
|
+
internationalSmsConfig?: {
|
|
1848
|
+
enabled: boolean;
|
|
1849
|
+
defaultISOType: string;
|
|
1850
|
+
};
|
|
1851
|
+
css: string;
|
|
1852
|
+
customLoading?: string;
|
|
1853
|
+
name: string;
|
|
1854
|
+
logo: string;
|
|
1855
|
+
description?: string;
|
|
1856
|
+
redirectUris: string[];
|
|
1857
|
+
registerDisabled: boolean;
|
|
1858
|
+
mergeAdAndAccountPasswordLogin: boolean;
|
|
1859
|
+
registerTabs: {
|
|
1860
|
+
list: string[];
|
|
1861
|
+
default: string;
|
|
1862
|
+
title: {
|
|
1863
|
+
[x: string]: string;
|
|
1864
|
+
};
|
|
1865
|
+
};
|
|
1866
|
+
registerTabsConfig: {
|
|
1867
|
+
list: string[];
|
|
1868
|
+
default: string;
|
|
1869
|
+
title: {
|
|
1870
|
+
[x: string]: string;
|
|
1871
|
+
};
|
|
1872
|
+
registerTypeConfig: {
|
|
1873
|
+
emailRegisterType?: RegisterMethods[];
|
|
1874
|
+
phoneRegisterType?: RegisterMethods[];
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
qrcodeTabsSettings: QrcodeTabsSettings;
|
|
1878
|
+
loginTabs: {
|
|
1879
|
+
list: string[];
|
|
1880
|
+
default: string;
|
|
1881
|
+
defaultV2?: string;
|
|
1882
|
+
title: {
|
|
1883
|
+
[x: string]: string;
|
|
1884
|
+
};
|
|
1885
|
+
};
|
|
1886
|
+
socialConnections: SocialConnectionItem[];
|
|
1887
|
+
complateFiledsPlace: ComplateFiledsPlace[];
|
|
1888
|
+
extendsFieldsEnabled: boolean;
|
|
1889
|
+
extendsFields: ExtendsField[];
|
|
1890
|
+
identifier: string;
|
|
1891
|
+
requestHostname: string;
|
|
1892
|
+
identityProviders: {
|
|
1893
|
+
identifier: string;
|
|
1894
|
+
protocol: Protocol;
|
|
1895
|
+
displayName: string;
|
|
1896
|
+
logo: string;
|
|
1897
|
+
config: ISamlConnectionConfig | OIDCConnectionConfig | ICasConnectionConfig | IAzureAdConnectionConfig | IOAuthConnectionConfig;
|
|
1898
|
+
}[];
|
|
1899
|
+
ssoPageComponentDisplay: {
|
|
1900
|
+
autoRegisterThenLoginHintInfo: boolean;
|
|
1901
|
+
forgetPasswordBtn: boolean;
|
|
1902
|
+
idpBtns: boolean;
|
|
1903
|
+
loginBtn: boolean;
|
|
1904
|
+
loginByPhoneCodeTab: boolean;
|
|
1905
|
+
loginByUserPasswordTab: boolean;
|
|
1906
|
+
loginMethodNav: boolean;
|
|
1907
|
+
phoneCodeInput: boolean;
|
|
1908
|
+
registerBtn: boolean;
|
|
1909
|
+
registerByEmailTab: boolean;
|
|
1910
|
+
registerByPhoneTab: boolean;
|
|
1911
|
+
registerMethodNav: boolean;
|
|
1912
|
+
socialLoginBtns: boolean;
|
|
1913
|
+
userPasswordInput: boolean;
|
|
1914
|
+
wxMpScanTab: boolean;
|
|
1915
|
+
};
|
|
1916
|
+
protocol: Protocol;
|
|
1917
|
+
oidcConfig: OidcClientMetadata;
|
|
1918
|
+
passwordTabConfig: ApplicationPasswordTabConfig;
|
|
1919
|
+
verifyCodeTabConfig?: ApplicationVerifyCodeTabConfig;
|
|
1920
|
+
agreementEnabled: boolean;
|
|
1921
|
+
agreements: Agreement[];
|
|
1922
|
+
customPasswordStrength: any;
|
|
1923
|
+
passwordStrength: PasswordStrength;
|
|
1924
|
+
verifyCodeLength: number;
|
|
1925
|
+
websocket: string;
|
|
1926
|
+
welcomeMessage: any;
|
|
1927
|
+
skipComplateFileds: boolean;
|
|
1928
|
+
selfUnlockStrategy: 'captcha' | 'password-captcha';
|
|
1929
|
+
defaultLanguageConfig: Lang;
|
|
2748
1930
|
}
|
|
2749
1931
|
|
|
2750
1932
|
}
|
|
2751
|
-
declare module '@authing/react-ui-components/
|
|
1933
|
+
declare module '@authing/react-ui-components/Type/index' {
|
|
2752
1934
|
import { AuthenticationClient, CommonMessage } from 'authing-js-sdk';
|
|
2753
|
-
import {
|
|
2754
|
-
import {
|
|
2755
|
-
import {
|
|
2756
|
-
|
|
2757
|
-
|
|
1935
|
+
import { GuardModuleType } from '@authing/react-ui-components/Guard/module';
|
|
1936
|
+
import { FacePlugin } from '@authing/react-ui-components/_utils/facePlugin/interface';
|
|
1937
|
+
import { ApplicationConfig } from '@authing/react-ui-components/Type/application';
|
|
1938
|
+
export * from '@authing/react-ui-components/Type/application';
|
|
1939
|
+
export type Lang = 'zh-CN' | 'en-US' | 'zh-TW';
|
|
1940
|
+
export enum GuardMode {
|
|
1941
|
+
Modal = "modal",
|
|
1942
|
+
Normal = "normal"
|
|
1943
|
+
}
|
|
2758
1944
|
export interface IG2FCProps extends IG2Events {
|
|
2759
1945
|
appId?: string;
|
|
2760
1946
|
tenantId?: string;
|
|
@@ -2778,8 +1964,8 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2778
1964
|
export interface IG2Config {
|
|
2779
1965
|
title?: string;
|
|
2780
1966
|
logo?: string;
|
|
2781
|
-
lang
|
|
2782
|
-
langRange
|
|
1967
|
+
lang?: string;
|
|
1968
|
+
langRange?: string[];
|
|
2783
1969
|
host: string;
|
|
2784
1970
|
isHost?: boolean;
|
|
2785
1971
|
mode: GuardMode;
|
|
@@ -2811,6 +1997,7 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2811
1997
|
export interface GuardPageConfig {
|
|
2812
1998
|
[GuardPageSene.Global]: {
|
|
2813
1999
|
showChangeLanguage: boolean;
|
|
2000
|
+
defaultLanguage: Lang | 'browser';
|
|
2814
2001
|
};
|
|
2815
2002
|
}
|
|
2816
2003
|
export enum EmailScene {
|
|
@@ -2829,28 +2016,36 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2829
2016
|
}
|
|
2830
2017
|
|
|
2831
2018
|
}
|
|
2832
|
-
declare module '@authing/react-ui-components/
|
|
2019
|
+
declare module '@authing/react-ui-components/UploadImage/index' {
|
|
2020
|
+
import { FC } from 'react';
|
|
2021
|
+
export const UploadImage: FC<{
|
|
2022
|
+
value?: string;
|
|
2023
|
+
onChange?: (value: string) => void;
|
|
2024
|
+
}>;
|
|
2025
|
+
|
|
2026
|
+
}
|
|
2027
|
+
declare module '@authing/react-ui-components/ValidatorRules/PasswordFormItem' {
|
|
2833
2028
|
import React from 'react';
|
|
2834
|
-
import { PasswordFormItemProps } from '@authing/react-ui-components/
|
|
2029
|
+
import { PasswordFormItemProps } from '@authing/react-ui-components/ValidatorRules/index';
|
|
2835
2030
|
export interface ExPasswordFormItemProps extends PasswordFormItemProps {
|
|
2836
2031
|
fieldRequiredRuleMessage?: string;
|
|
2837
2032
|
}
|
|
2838
2033
|
export const PasswordFormItem: React.FC<ExPasswordFormItemProps>;
|
|
2839
2034
|
|
|
2840
2035
|
}
|
|
2841
|
-
declare module '@authing/react-ui-components/
|
|
2036
|
+
declare module '@authing/react-ui-components/ValidatorRules/ValidatorFormItem' {
|
|
2842
2037
|
import React from 'react';
|
|
2843
|
-
import { ValidatorFormItemProps } from '@authing/react-ui-components/
|
|
2038
|
+
import { ValidatorFormItemProps } from '@authing/react-ui-components/ValidatorRules/index';
|
|
2844
2039
|
export const EmailFormItem: React.FC<ValidatorFormItemProps>;
|
|
2845
2040
|
export const PhoneFormItem: React.FC<ValidatorFormItemProps>;
|
|
2846
2041
|
export const UserNameFormItem: React.FC<ValidatorFormItemProps>;
|
|
2847
2042
|
|
|
2848
2043
|
}
|
|
2849
|
-
declare module '@authing/react-ui-components/
|
|
2044
|
+
declare module '@authing/react-ui-components/ValidatorRules/index' {
|
|
2850
2045
|
import { FormInstance, FormItemProps } from 'antd/lib/form';
|
|
2851
2046
|
import FormItem from 'antd/lib/form/FormItem';
|
|
2852
|
-
import { PasswordFormItem } from '@authing/react-ui-components/
|
|
2853
|
-
import { EmailFormItem, PhoneFormItem, UserNameFormItem } from '@authing/react-ui-components/
|
|
2047
|
+
import { PasswordFormItem } from '@authing/react-ui-components/ValidatorRules/PasswordFormItem';
|
|
2048
|
+
import { EmailFormItem, PhoneFormItem, UserNameFormItem } from '@authing/react-ui-components/ValidatorRules/ValidatorFormItem';
|
|
2854
2049
|
export interface ValidatorFormItemProps extends FormItemProps {
|
|
2855
2050
|
form?: FormInstance;
|
|
2856
2051
|
checkRepeat?: boolean;
|
|
@@ -2880,11 +2075,11 @@ declare module '@authing/react-ui-components/components/ValidatorRules/index' {
|
|
|
2880
2075
|
export default CustomFormItem;
|
|
2881
2076
|
|
|
2882
2077
|
}
|
|
2883
|
-
declare module '@authing/react-ui-components/
|
|
2078
|
+
declare module '@authing/react-ui-components/ValidatorRules/useCheckRepeat' {
|
|
2884
2079
|
export const useCheckRepeat: (checkFn: (value: any, resolve: (value: unknown) => void, reject: (reason?: any) => void) => void) => (_: any, value: any) => Promise<unknown>;
|
|
2885
2080
|
|
|
2886
2081
|
}
|
|
2887
|
-
declare module '@authing/react-ui-components/
|
|
2082
|
+
declare module '@authing/react-ui-components/VerifyCodeInput/index' {
|
|
2888
2083
|
import React, { FC } from 'react';
|
|
2889
2084
|
import './style.less';
|
|
2890
2085
|
interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -2897,7 +2092,7 @@ declare module '@authing/react-ui-components/components/VerifyCodeInput/index' {
|
|
|
2897
2092
|
export {};
|
|
2898
2093
|
|
|
2899
2094
|
}
|
|
2900
|
-
declare module '@authing/react-ui-components/
|
|
2095
|
+
declare module '@authing/react-ui-components/_utils/GuardErrorCode' {
|
|
2901
2096
|
export enum ErrorCode {
|
|
2902
2097
|
OTP_MFA_CODE = 1635,
|
|
2903
2098
|
APP_MFA_CODE = 1636,
|
|
@@ -2911,49 +2106,48 @@ declare module '@authing/react-ui-components/components/_utils/GuardErrorCode' {
|
|
|
2911
2106
|
}
|
|
2912
2107
|
|
|
2913
2108
|
}
|
|
2914
|
-
declare module '@authing/react-ui-components/
|
|
2915
|
-
import { GuardAppendConfig } from '@authing/react-ui-components/
|
|
2109
|
+
declare module '@authing/react-ui-components/_utils/appendConfig' {
|
|
2110
|
+
import { GuardAppendConfig } from '@authing/react-ui-components/index';
|
|
2916
2111
|
export const getAppendConfig: () => GuardAppendConfig;
|
|
2917
2112
|
export const useAppendConfig: () => GuardAppendConfig;
|
|
2918
2113
|
export const initAppendConfig: (appendConfig?: GuardAppendConfig) => void;
|
|
2919
2114
|
|
|
2920
2115
|
}
|
|
2921
|
-
declare module '@authing/react-ui-components/
|
|
2116
|
+
declare module '@authing/react-ui-components/_utils/clipboard' {
|
|
2922
2117
|
export const copyToClipboard: (str: string) => void;
|
|
2923
2118
|
|
|
2924
2119
|
}
|
|
2925
|
-
declare module '@authing/react-ui-components/
|
|
2120
|
+
declare module '@authing/react-ui-components/_utils/config/index' {
|
|
2926
2121
|
/// <reference types="react" />
|
|
2927
|
-
import {
|
|
2928
|
-
import {
|
|
2929
|
-
import {
|
|
2930
|
-
import {
|
|
2931
|
-
import { RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
2122
|
+
import { GuardComponentConfig, GuardLocalConfig } from '@authing/react-ui-components/Guard/config';
|
|
2123
|
+
import { GuardHttp } from '@authing/react-ui-components/_utils/guardHttp';
|
|
2124
|
+
import { GuardPageConfig } from '@authing/react-ui-components/Type/index';
|
|
2125
|
+
import { ApplicationConfig, RegisterMethods } from '@authing/react-ui-components/Type/application';
|
|
2932
2126
|
export const getPublicConfig: (appId: string) => ApplicationConfig;
|
|
2933
2127
|
export const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
|
|
2934
2128
|
export const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
|
|
2935
2129
|
export const useMergePublicConfig: (appId?: string | undefined, config?: GuardLocalConfig | undefined, httpClient?: GuardHttp | undefined, setError?: any) => {
|
|
2936
2130
|
host: string;
|
|
2937
2131
|
isSSO?: boolean | undefined;
|
|
2938
|
-
defaultScenes?: import("@authing/react-ui-components/
|
|
2132
|
+
defaultScenes?: import("@authing/react-ui-components/index").GuardModuleType | undefined;
|
|
2939
2133
|
defaultInitData?: any;
|
|
2940
2134
|
showLoading?: boolean | undefined;
|
|
2941
2135
|
loadingComponent?: import("react").ReactNode;
|
|
2942
2136
|
openEventsMapping?: boolean | undefined;
|
|
2943
|
-
_qrCodeScanOptions?: Record<import("@authing/react-ui-components/
|
|
2137
|
+
_qrCodeScanOptions?: Record<import("@authing/react-ui-components/Guard/config").QrCodeScanType, import("../../Guard/config").QrCodeScanOptions> | undefined;
|
|
2944
2138
|
disableRegister?: boolean | undefined;
|
|
2945
2139
|
registerMethods?: RegisterMethods[] | undefined;
|
|
2946
2140
|
defaultRegisterMethod?: RegisterMethods | undefined;
|
|
2947
2141
|
publicKey?: string | undefined;
|
|
2948
2142
|
agreementEnabled?: boolean | undefined;
|
|
2949
|
-
agreements?: import("@authing/react-ui-components/
|
|
2143
|
+
agreements?: import("@authing/react-ui-components/Type/index").Agreement[] | undefined;
|
|
2950
2144
|
registerContext?: any;
|
|
2951
2145
|
title?: string | undefined;
|
|
2952
2146
|
logo?: string | undefined;
|
|
2953
|
-
lang
|
|
2954
|
-
langRange
|
|
2147
|
+
lang?: string | undefined;
|
|
2148
|
+
langRange?: string[] | undefined;
|
|
2955
2149
|
isHost?: boolean | undefined;
|
|
2956
|
-
mode: import("@authing/react-ui-components/
|
|
2150
|
+
mode: import("@authing/react-ui-components/Type/index").GuardMode;
|
|
2957
2151
|
clickCloseable: boolean;
|
|
2958
2152
|
escCloseable: boolean;
|
|
2959
2153
|
userpool?: string | undefined;
|
|
@@ -2964,9 +2158,9 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2964
2158
|
__unAuthFlow__?: boolean | undefined;
|
|
2965
2159
|
autoRegister?: boolean | undefined;
|
|
2966
2160
|
disableResetPwd?: boolean | undefined;
|
|
2967
|
-
defaultLoginMethod?: import("@authing/react-ui-components/
|
|
2968
|
-
loginMethods?: import("@authing/react-ui-components/
|
|
2969
|
-
passwordLoginMethods?: import("@authing/react-ui-components/
|
|
2161
|
+
defaultLoginMethod?: import("@authing/react-ui-components/Type/index").LoginMethods | undefined;
|
|
2162
|
+
loginMethods?: import("@authing/react-ui-components/Type/index").LoginMethods[] | undefined;
|
|
2163
|
+
passwordLoginMethods?: import("@authing/react-ui-components/Type/index").PasswordLoginMethods[] | undefined;
|
|
2970
2164
|
socialConnections?: import("authing-js-sdk").SocialConnectionProvider[] | undefined;
|
|
2971
2165
|
socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
|
|
2972
2166
|
enterpriseConnections?: string[] | undefined;
|
|
@@ -3003,8 +2197,6 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
3003
2197
|
expired?: string | undefined;
|
|
3004
2198
|
retry?: string | undefined;
|
|
3005
2199
|
failed?: string | undefined;
|
|
3006
|
-
middleTitle?: string | undefined;
|
|
3007
|
-
referText?: string | undefined;
|
|
3008
2200
|
} | undefined;
|
|
3009
2201
|
onAuthFlow?: ((flow: Record<string, any>) => {}) | undefined;
|
|
3010
2202
|
customData?: {
|
|
@@ -3022,12 +2214,12 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
3022
2214
|
export const useGuardPageConfig: (appId?: string | undefined, httpClient?: GuardHttp | undefined, serError?: any) => GuardPageConfig | undefined;
|
|
3023
2215
|
|
|
3024
2216
|
}
|
|
3025
|
-
declare module '@authing/react-ui-components/
|
|
2217
|
+
declare module '@authing/react-ui-components/_utils/context' {
|
|
3026
2218
|
import React from 'react';
|
|
3027
|
-
import { GuardEvents, GuardLocalConfig, GuardModuleType, GuardPageConfig } from '@authing/react-ui-components/
|
|
3028
|
-
import {
|
|
3029
|
-
import {
|
|
3030
|
-
import { GuardHttp } from '@authing/react-ui-components/
|
|
2219
|
+
import { GuardEvents, GuardLocalConfig, GuardModuleType, GuardPageConfig } from '@authing/react-ui-components/index';
|
|
2220
|
+
import { ModuleState } from '@authing/react-ui-components/Guard/GuardModule/stateMachine';
|
|
2221
|
+
import { ApplicationConfig } from '@authing/react-ui-components/Type/application';
|
|
2222
|
+
import { GuardHttp } from '@authing/react-ui-components/_utils/guardHttp';
|
|
3031
2223
|
export interface IGuardContext {
|
|
3032
2224
|
finallyConfig: GuardLocalConfig;
|
|
3033
2225
|
defaultMergedConfig: GuardLocalConfig;
|
|
@@ -3082,11 +2274,11 @@ declare module '@authing/react-ui-components/components/_utils/context' {
|
|
|
3082
2274
|
export const useGuardPageConfig: () => Partial<GuardPageConfig>;
|
|
3083
2275
|
|
|
3084
2276
|
}
|
|
3085
|
-
declare module '@authing/react-ui-components/
|
|
2277
|
+
declare module '@authing/react-ui-components/_utils/corsVerification' {
|
|
3086
2278
|
export const corsVerification: (allowedOrigins?: string[], corsWhitelist?: string[]) => void;
|
|
3087
2279
|
|
|
3088
2280
|
}
|
|
3089
|
-
declare module '@authing/react-ui-components/
|
|
2281
|
+
declare module '@authing/react-ui-components/_utils/countryList' {
|
|
3090
2282
|
export interface IsoType {
|
|
3091
2283
|
iso: string;
|
|
3092
2284
|
regions: string;
|
|
@@ -3096,7 +2288,7 @@ declare module '@authing/react-ui-components/components/_utils/countryList' {
|
|
|
3096
2288
|
export const isoInfo: IsoType[];
|
|
3097
2289
|
|
|
3098
2290
|
}
|
|
3099
|
-
declare module '@authing/react-ui-components/
|
|
2291
|
+
declare module '@authing/react-ui-components/_utils/errorFace' {
|
|
3100
2292
|
enum FaceErrorName {
|
|
3101
2293
|
NotAllowedError = "NotAllowedError",
|
|
3102
2294
|
AbortError = "AbortError",
|
|
@@ -3111,14 +2303,14 @@ declare module '@authing/react-ui-components/components/_utils/errorFace' {
|
|
|
3111
2303
|
export {};
|
|
3112
2304
|
|
|
3113
2305
|
}
|
|
3114
|
-
declare module '@authing/react-ui-components/
|
|
3115
|
-
import { FacePlugin } from '@authing/react-ui-components/
|
|
2306
|
+
declare module '@authing/react-ui-components/_utils/facePlugin/index' {
|
|
2307
|
+
import { FacePlugin } from '@authing/react-ui-components/_utils/facePlugin/interface';
|
|
3116
2308
|
export const getFacePlugin: () => FacePlugin | undefined;
|
|
3117
2309
|
export const useFacePlugin: () => FacePlugin | undefined;
|
|
3118
2310
|
export const initFacePlugin: (facePlugin: FacePlugin) => FacePlugin;
|
|
3119
2311
|
|
|
3120
2312
|
}
|
|
3121
|
-
declare module '@authing/react-ui-components/
|
|
2313
|
+
declare module '@authing/react-ui-components/_utils/facePlugin/interface' {
|
|
3122
2314
|
export interface FacePlugin {
|
|
3123
2315
|
detectSingleFace: any;
|
|
3124
2316
|
TinyFaceDetectorOptions: any;
|
|
@@ -3126,22 +2318,22 @@ declare module '@authing/react-ui-components/components/_utils/facePlugin/interf
|
|
|
3126
2318
|
}
|
|
3127
2319
|
|
|
3128
2320
|
}
|
|
3129
|
-
declare module '@authing/react-ui-components/
|
|
2321
|
+
declare module '@authing/react-ui-components/_utils/flowHandleStorage' {
|
|
3130
2322
|
export const getFlowHandle: () => string | undefined;
|
|
3131
2323
|
export const useFlowHandle: () => string | undefined;
|
|
3132
2324
|
export const updateFlowHandle: (flowHandle: string) => void;
|
|
3133
2325
|
export const useUpdateFlowHandle: (flowHandle: string) => void;
|
|
3134
2326
|
|
|
3135
2327
|
}
|
|
3136
|
-
declare module '@authing/react-ui-components/
|
|
2328
|
+
declare module '@authing/react-ui-components/_utils/guardDocument' {
|
|
3137
2329
|
export const getGuardDocument: () => Document;
|
|
3138
2330
|
export const useAppendConfig: () => Document;
|
|
3139
2331
|
export const initGuardDocument: (document: Document) => void;
|
|
3140
2332
|
|
|
3141
2333
|
}
|
|
3142
|
-
declare module '@authing/react-ui-components/
|
|
3143
|
-
import { AuthingGuardResponse, AuthingResponse } from '@authing/react-ui-components/
|
|
3144
|
-
import { CodeAction } from '@authing/react-ui-components/
|
|
2334
|
+
declare module '@authing/react-ui-components/_utils/guardHttp' {
|
|
2335
|
+
import { AuthingGuardResponse, AuthingResponse } from '@authing/react-ui-components/_utils/http';
|
|
2336
|
+
import { CodeAction } from '@authing/react-ui-components/_utils/responseManagement/interface';
|
|
3145
2337
|
export class GuardHttp {
|
|
3146
2338
|
private requestClient;
|
|
3147
2339
|
private headers;
|
|
@@ -3169,10 +2361,9 @@ declare module '@authing/react-ui-components/components/_utils/guardHttp' {
|
|
|
3169
2361
|
export const useGuardHttp: () => GuardHttp;
|
|
3170
2362
|
|
|
3171
2363
|
}
|
|
3172
|
-
declare module '@authing/react-ui-components/
|
|
3173
|
-
import {
|
|
3174
|
-
import { ApplicationConfig } from '@authing/react-ui-components/
|
|
3175
|
-
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/index';
|
|
2364
|
+
declare module '@authing/react-ui-components/_utils/hooks/index' {
|
|
2365
|
+
import { GuardLocalConfig } from '@authing/react-ui-components/Guard/index';
|
|
2366
|
+
import { ApplicationConfig } from '@authing/react-ui-components/Type/application';
|
|
3176
2367
|
export interface PhoneValidResult {
|
|
3177
2368
|
isValid: boolean;
|
|
3178
2369
|
phoneNumber: string;
|
|
@@ -3180,7 +2371,8 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
3180
2371
|
countryIso3: string;
|
|
3181
2372
|
countryCode: string;
|
|
3182
2373
|
}
|
|
3183
|
-
export const
|
|
2374
|
+
export const HIDE_SOCIALS: string[];
|
|
2375
|
+
export const HIDE_SOCIALS_SHOWIN_ENTERPRISE: string[];
|
|
3184
2376
|
export const useAppId: (appId?: string | undefined) => string;
|
|
3185
2377
|
export const useDebounce: (fn: any, delay: number) => (...args: any[]) => void;
|
|
3186
2378
|
export const useMediaSize: () => {
|
|
@@ -3215,8 +2407,8 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
3215
2407
|
}) => any;
|
|
3216
2408
|
|
|
3217
2409
|
}
|
|
3218
|
-
declare module '@authing/react-ui-components/
|
|
3219
|
-
import { CodeAction } from '@authing/react-ui-components/
|
|
2410
|
+
declare module '@authing/react-ui-components/_utils/http' {
|
|
2411
|
+
import { CodeAction } from '@authing/react-ui-components/_utils/responseManagement/interface';
|
|
3220
2412
|
import { AxiosRequestConfig } from 'axios';
|
|
3221
2413
|
export const requestClient: {
|
|
3222
2414
|
(input: RequestInfo, init?: RequestInit | undefined): Promise<any>;
|
|
@@ -3251,15 +2443,15 @@ declare module '@authing/react-ui-components/components/_utils/http' {
|
|
|
3251
2443
|
}
|
|
3252
2444
|
|
|
3253
2445
|
}
|
|
3254
|
-
declare module '@authing/react-ui-components/
|
|
2446
|
+
declare module '@authing/react-ui-components/_utils/index' {
|
|
3255
2447
|
import { Rule } from 'antd/lib/form';
|
|
3256
2448
|
import qs from 'qs';
|
|
3257
2449
|
import { User } from 'authing-js-sdk';
|
|
3258
|
-
import {
|
|
3259
|
-
import {
|
|
3260
|
-
import {
|
|
3261
|
-
export * from '@authing/react-ui-components/
|
|
3262
|
-
export * from '@authing/react-ui-components/
|
|
2450
|
+
import { GuardProps } from '@authing/react-ui-components/Guard/index';
|
|
2451
|
+
import { ApplicationConfig, ComplateFiledsPlace, LoginMethods, RegisterMethods } from '@authing/react-ui-components/Type/application';
|
|
2452
|
+
import { Lang } from '@authing/react-ui-components/Type/index';
|
|
2453
|
+
export * from '@authing/react-ui-components/_utils/popupCenter';
|
|
2454
|
+
export * from '@authing/react-ui-components/_utils/clipboard';
|
|
3263
2455
|
export const VALIDATE_PATTERN: {
|
|
3264
2456
|
readonly email: RegExp;
|
|
3265
2457
|
readonly phone: RegExp;
|
|
@@ -3272,9 +2464,8 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
3272
2464
|
export const fieldRequiredRule: (fieldRequiredRule: string, fieldRequiredRuleMessage?: string | undefined) => Rule[];
|
|
3273
2465
|
export function getDeviceName(): string | null | undefined;
|
|
3274
2466
|
export type STYLE_RECORD_KEY = 'appConfig' | 'userConfig';
|
|
3275
|
-
export const insertStyles: (styles: string | any, recordKey?: "
|
|
2467
|
+
export const insertStyles: (styles: string | any, recordKey?: "appConfig" | "userConfig" | undefined) => void;
|
|
3276
2468
|
export const removeStyles: (recordKey: STYLE_RECORD_KEY) => void;
|
|
3277
|
-
export const useTitle: (title: string, prefix?: string | undefined) => void;
|
|
3278
2469
|
export const getClassnames: (classnames: (string | boolean | undefined)[]) => string;
|
|
3279
2470
|
/**
|
|
3280
2471
|
* https://www.itranslater.com/qa/details/2115518846294557696
|
|
@@ -3344,9 +2535,10 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
3344
2535
|
lockMethod?: undefined;
|
|
3345
2536
|
} | undefined;
|
|
3346
2537
|
export const getPasswordIdentify: (identity: string) => string;
|
|
2538
|
+
export const getCurrentLng: () => Lang;
|
|
3347
2539
|
|
|
3348
2540
|
}
|
|
3349
|
-
declare module '@authing/react-ui-components/
|
|
2541
|
+
declare module '@authing/react-ui-components/_utils/initAppId' {
|
|
3350
2542
|
import { AuthenticationClient } from 'authing-js-sdk';
|
|
3351
2543
|
export interface UseInitAppidProps {
|
|
3352
2544
|
propsAppid?: string;
|
|
@@ -3356,32 +2548,39 @@ declare module '@authing/react-ui-components/components/_utils/initAppId' {
|
|
|
3356
2548
|
export const useInitAppId: (propsAppid?: string | undefined, propsAuthClient?: AuthenticationClient | undefined, setError?: any) => string | undefined;
|
|
3357
2549
|
|
|
3358
2550
|
}
|
|
3359
|
-
declare module '@authing/react-ui-components/
|
|
3360
|
-
import common from '@authing/react-ui-components/
|
|
3361
|
-
import login from '@authing/react-ui-components/
|
|
3362
|
-
import user from '@authing/react-ui-components/
|
|
3363
|
-
|
|
3364
|
-
export { common, login, user, map };
|
|
2551
|
+
declare module '@authing/react-ui-components/_utils/locales/en-us/index' {
|
|
2552
|
+
import common from '@authing/react-ui-components/_utils/locales/en-us/common/index';
|
|
2553
|
+
import login from '@authing/react-ui-components/_utils/locales/en-us/login/index';
|
|
2554
|
+
import user from '@authing/react-ui-components/_utils/locales/en-us/user/index';
|
|
2555
|
+
export { common, login, user };
|
|
3365
2556
|
|
|
3366
2557
|
}
|
|
3367
|
-
declare module '@authing/react-ui-components/
|
|
2558
|
+
declare module '@authing/react-ui-components/_utils/locales/index' {
|
|
3368
2559
|
import i18n from 'i18next';
|
|
3369
|
-
import {
|
|
3370
|
-
export
|
|
3371
|
-
|
|
3372
|
-
|
|
2560
|
+
import { Lang } from '@authing/react-ui-components/Type/index';
|
|
2561
|
+
export interface InitGuardI18nOptions {
|
|
2562
|
+
defaultLanguage?: Lang | 'browser';
|
|
2563
|
+
}
|
|
2564
|
+
export const initGuardI18n: (options: InitGuardI18nOptions) => void;
|
|
2565
|
+
export { i18n };
|
|
2566
|
+
|
|
2567
|
+
}
|
|
2568
|
+
declare module '@authing/react-ui-components/_utils/locales/zh-cn/index' {
|
|
2569
|
+
import common from '@authing/react-ui-components/_utils/locales/zh-cn/common/index';
|
|
2570
|
+
import login from '@authing/react-ui-components/_utils/locales/zh-cn/login/index';
|
|
2571
|
+
import user from '@authing/react-ui-components/_utils/locales/zh-cn/user/index';
|
|
2572
|
+
export { common, login, user };
|
|
3373
2573
|
|
|
3374
2574
|
}
|
|
3375
|
-
declare module '@authing/react-ui-components/
|
|
3376
|
-
import common from '@authing/react-ui-components/
|
|
3377
|
-
import login from '@authing/react-ui-components/
|
|
3378
|
-
import user from '@authing/react-ui-components/
|
|
3379
|
-
|
|
3380
|
-
export { common, login, user, map };
|
|
2575
|
+
declare module '@authing/react-ui-components/_utils/locales/zh-tw/index' {
|
|
2576
|
+
import common from '@authing/react-ui-components/_utils/locales/zh-tw/common/index';
|
|
2577
|
+
import login from '@authing/react-ui-components/_utils/locales/zh-tw/login/index';
|
|
2578
|
+
import user from '@authing/react-ui-components/_utils/locales/zh-tw/user/index';
|
|
2579
|
+
export { common, login, user };
|
|
3381
2580
|
|
|
3382
2581
|
}
|
|
3383
|
-
declare module '@authing/react-ui-components/
|
|
3384
|
-
import { LoggerType } from '@authing/react-ui-components/
|
|
2582
|
+
declare module '@authing/react-ui-components/_utils/logger/index' {
|
|
2583
|
+
import { LoggerType } from '@authing/react-ui-components/_utils/logger/interface';
|
|
3385
2584
|
export class Logger {
|
|
3386
2585
|
static printType: LoggerType[];
|
|
3387
2586
|
/**
|
|
@@ -3398,7 +2597,7 @@ declare module '@authing/react-ui-components/components/_utils/logger/index' {
|
|
|
3398
2597
|
export const useLogger: () => Logger;
|
|
3399
2598
|
|
|
3400
2599
|
}
|
|
3401
|
-
declare module '@authing/react-ui-components/
|
|
2600
|
+
declare module '@authing/react-ui-components/_utils/logger/interface' {
|
|
3402
2601
|
export enum LoggerType {
|
|
3403
2602
|
INFO = "INFO",
|
|
3404
2603
|
WARN = "WARN",
|
|
@@ -3406,7 +2605,7 @@ declare module '@authing/react-ui-components/components/_utils/logger/interface'
|
|
|
3406
2605
|
}
|
|
3407
2606
|
|
|
3408
2607
|
}
|
|
3409
|
-
declare module '@authing/react-ui-components/
|
|
2608
|
+
declare module '@authing/react-ui-components/_utils/popupCenter' {
|
|
3410
2609
|
/**
|
|
3411
2610
|
* 在屏幕中心弹出新窗口加载 url
|
|
3412
2611
|
* @param url
|
|
@@ -3418,14 +2617,14 @@ declare module '@authing/react-ui-components/components/_utils/popupCenter' {
|
|
|
3418
2617
|
}) => void;
|
|
3419
2618
|
|
|
3420
2619
|
}
|
|
3421
|
-
declare module '@authing/react-ui-components/
|
|
3422
|
-
import { AuthingGuardResponse, AuthingResponse } from '@authing/react-ui-components/
|
|
3423
|
-
import { CodeAction } from '@authing/react-ui-components/
|
|
2620
|
+
declare module '@authing/react-ui-components/_utils/responseManagement/index' {
|
|
2621
|
+
import { AuthingGuardResponse, AuthingResponse } from '@authing/react-ui-components/_utils/http';
|
|
2622
|
+
import { CodeAction } from '@authing/react-ui-components/_utils/responseManagement/interface';
|
|
3424
2623
|
export const errorCodeInterceptor: (res: AuthingResponse<any>, callBack: (code: CodeAction, res: AuthingResponse) => AuthingGuardResponse) => AuthingResponse<any>;
|
|
3425
2624
|
|
|
3426
2625
|
}
|
|
3427
|
-
declare module '@authing/react-ui-components/
|
|
3428
|
-
import { GuardModuleType } from '@authing/react-ui-components/
|
|
2626
|
+
declare module '@authing/react-ui-components/_utils/responseManagement/interface' {
|
|
2627
|
+
import { GuardModuleType } from '@authing/react-ui-components/Guard/index';
|
|
3429
2628
|
export enum CodeAction {
|
|
3430
2629
|
CHANGE_MODULE = "changeModule",
|
|
3431
2630
|
RENDER_MESSAGE = "renderMessage",
|
|
@@ -3448,544 +2647,30 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3448
2647
|
export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
|
|
3449
2648
|
|
|
3450
2649
|
}
|
|
3451
|
-
declare module '@authing/react-ui-components/
|
|
2650
|
+
declare module '@authing/react-ui-components/_utils/useErrorText' {
|
|
3452
2651
|
import React from 'react';
|
|
3453
2652
|
export const usePasswordErrorText: () => {
|
|
3454
2653
|
setPasswordErrorTextShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
3455
2654
|
getPassWordUnsafeText: () => JSX.Element;
|
|
3456
2655
|
};
|
|
3457
2656
|
|
|
3458
|
-
}
|
|
3459
|
-
declare module '@authing/react-ui-components/components/context/base' {
|
|
3460
|
-
import React from 'react';
|
|
3461
|
-
export function createBaseContext<C>(): readonly [React.Context<C | undefined>, () => C];
|
|
3462
|
-
export interface IBaseAction<ActionType = string> {
|
|
3463
|
-
type: ActionType & string;
|
|
3464
|
-
payload?: any;
|
|
3465
|
-
[key: string]: string;
|
|
3466
|
-
}
|
|
3467
|
-
export interface IBaseContext<S> {
|
|
3468
|
-
state: S;
|
|
3469
|
-
[k: string]: any;
|
|
3470
|
-
}
|
|
3471
|
-
export type BaseContextComponent<Props> = React.PropsWithChildren<Props>;
|
|
3472
|
-
|
|
3473
|
-
}
|
|
3474
|
-
declare module '@authing/react-ui-components/components/context/global/context' {
|
|
3475
|
-
/// <reference types="react" />
|
|
3476
|
-
import { IBaseContext, BaseContextComponent } from '@authing/react-ui-components/components/context/base';
|
|
3477
|
-
import { IState } from '@authing/react-ui-components/components/context/global/reducer';
|
|
3478
|
-
export interface IGuardContext extends IBaseContext<IState> {
|
|
3479
|
-
dispatch: Function;
|
|
3480
|
-
getValue: (key: keyof IState) => any;
|
|
3481
|
-
setValue: (key: keyof IState, value: any) => void;
|
|
3482
|
-
}
|
|
3483
|
-
export function useGuardContext(): IGuardContext;
|
|
3484
|
-
export function GuardContext({ children, value, }: BaseContextComponent<Record<string, any>>): JSX.Element;
|
|
3485
|
-
|
|
3486
|
-
}
|
|
3487
|
-
declare module '@authing/react-ui-components/components/context/global/reducer' {
|
|
3488
|
-
import { GuardConfig, ActiveTabs, GuardScenes, UserConfig, GuardEventsHandler, LocalesConfig, Lang } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
3489
|
-
import { AuthenticationClient } from 'authing-js-sdk';
|
|
3490
|
-
import { IBaseAction } from '@authing/react-ui-components/components/context/base';
|
|
3491
|
-
import { ApplicationMfaType } from '@authing/react-ui-components/components/AuthingGuard/api/appConfig';
|
|
3492
|
-
export type IState = {
|
|
3493
|
-
config: GuardConfig;
|
|
3494
|
-
userConfig: UserConfig;
|
|
3495
|
-
authClient: AuthenticationClient;
|
|
3496
|
-
activeTabs: ActiveTabs;
|
|
3497
|
-
guardScenes: GuardScenes;
|
|
3498
|
-
guardTitle: string;
|
|
3499
|
-
mfaData: {
|
|
3500
|
-
mfaToken: string;
|
|
3501
|
-
phone?: string;
|
|
3502
|
-
email?: string;
|
|
3503
|
-
applicationMfa?: {
|
|
3504
|
-
status: 0 | 1;
|
|
3505
|
-
mfaPolicy: ApplicationMfaType;
|
|
3506
|
-
sort: number;
|
|
3507
|
-
}[];
|
|
3508
|
-
};
|
|
3509
|
-
userPoolId: string;
|
|
3510
|
-
appId: string;
|
|
3511
|
-
guardEvents: GuardEventsHandler;
|
|
3512
|
-
localesConfig: LocalesConfig;
|
|
3513
|
-
lang?: Lang;
|
|
3514
|
-
realHost: string;
|
|
3515
|
-
};
|
|
3516
|
-
export const reducer: (state: IState, { type, ...payloads }: IBaseAction) => any;
|
|
3517
|
-
|
|
3518
|
-
}
|
|
3519
|
-
declare module '@authing/react-ui-components/components/context/module/context' {
|
|
3520
|
-
import React, { FC } from 'react';
|
|
3521
|
-
import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
|
|
3522
|
-
export interface IModuleContext {
|
|
3523
|
-
module: string;
|
|
3524
|
-
changeModule: React.Dispatch<GuardModuleType>;
|
|
3525
|
-
setInitData: React.Dispatch<any>;
|
|
3526
|
-
}
|
|
3527
|
-
export const useModule: () => IModuleContext;
|
|
3528
|
-
export const ModuleContext: FC<{
|
|
3529
|
-
value: IModuleContext;
|
|
3530
|
-
}>;
|
|
3531
|
-
|
|
3532
|
-
}
|
|
3533
|
-
declare module '@authing/react-ui-components/components/index' {
|
|
3534
|
-
export * from '@authing/react-ui-components/components/_utils/config/index';
|
|
3535
|
-
export * from '@authing/react-ui-components/components/_utils/responseManagement/interface';
|
|
3536
|
-
export * from '@authing/react-ui-components/components/AuthClientProvider/index';
|
|
3537
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
3538
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/hooks/index';
|
|
3539
|
-
export * from '@authing/react-ui-components/components/AuthingGuard/index';
|
|
3540
|
-
export * from '@authing/react-ui-components/components/Guard/index';
|
|
3541
|
-
export * from '@authing/react-ui-components/components/Type/index';
|
|
3542
|
-
export * from '@authing/react-ui-components/components/version/index';
|
|
3543
|
-
|
|
3544
|
-
}
|
|
3545
|
-
declare module '@authing/react-ui-components/components/version/index' {
|
|
3546
|
-
import version from '@authing/react-ui-components/components/version/version';
|
|
3547
|
-
export default version;
|
|
3548
|
-
|
|
3549
|
-
}
|
|
3550
|
-
declare module '@authing/react-ui-components/components/version/version' {
|
|
3551
|
-
const _default: "3.1.38-beta.0";
|
|
3552
|
-
export default _default;
|
|
3553
|
-
|
|
3554
|
-
}
|
|
3555
|
-
declare module '@authing/react-ui-components/config/antdReplacer' {
|
|
3556
|
-
export function antdScopeReplacerFn(node: any): void;
|
|
3557
|
-
|
|
3558
|
-
}
|
|
3559
|
-
declare module '@authing/react-ui-components/config/env' {
|
|
3560
|
-
export = getClientEnvironment;
|
|
3561
|
-
function getClientEnvironment(publicUrl: any): {
|
|
3562
|
-
raw: {
|
|
3563
|
-
NODE_ENV: "development" | "production" | "test";
|
|
3564
|
-
PUBLIC_URL: any;
|
|
3565
|
-
WDS_SOCKET_HOST: string | undefined;
|
|
3566
|
-
WDS_SOCKET_PATH: string | undefined;
|
|
3567
|
-
WDS_SOCKET_PORT: string | undefined;
|
|
3568
|
-
FAST_REFRESH: boolean;
|
|
3569
|
-
};
|
|
3570
|
-
stringified: {
|
|
3571
|
-
'process.env': {};
|
|
3572
|
-
};
|
|
3573
|
-
};
|
|
3574
|
-
|
|
3575
|
-
}
|
|
3576
|
-
declare module '@authing/react-ui-components/config/getHttpsConfig' {
|
|
3577
|
-
export = getHttpsConfig;
|
|
3578
|
-
function getHttpsConfig(): boolean | {
|
|
3579
|
-
cert: Buffer;
|
|
3580
|
-
key: Buffer;
|
|
3581
|
-
};
|
|
3582
|
-
|
|
3583
|
-
}
|
|
3584
|
-
declare module '@authing/react-ui-components/config/jest/cssTransform' {
|
|
3585
|
-
export function process(): string;
|
|
3586
|
-
export function process(): string;
|
|
3587
|
-
export function getCacheKey(): string;
|
|
3588
|
-
export function getCacheKey(): string;
|
|
3589
|
-
|
|
3590
|
-
}
|
|
3591
|
-
declare module '@authing/react-ui-components/config/jest/fileTransform' {
|
|
3592
|
-
export function process(src: any, filename: any): string;
|
|
3593
|
-
export function process(src: any, filename: any): string;
|
|
3594
|
-
|
|
3595
|
-
}
|
|
3596
|
-
declare module '@authing/react-ui-components/config/modules' {
|
|
3597
|
-
export const additionalModulePaths: string[] | "" | null;
|
|
3598
|
-
export const hasTsConfig: boolean;
|
|
3599
|
-
export const webpackAliases: {
|
|
3600
|
-
src?: undefined;
|
|
3601
|
-
} | {
|
|
3602
|
-
src: string;
|
|
3603
|
-
} | undefined;
|
|
3604
|
-
export const jestAliases: {
|
|
3605
|
-
'^src/(.*)$'?: undefined;
|
|
3606
|
-
} | {
|
|
3607
|
-
'^src/(.*)$': string;
|
|
3608
|
-
} | undefined;
|
|
3609
|
-
|
|
3610
|
-
}
|
|
3611
|
-
declare module '@authing/react-ui-components/config/paths' {
|
|
3612
|
-
export const publicUrlOrPath: any;
|
|
3613
|
-
export const moduleFileExtensions: string[];
|
|
3614
|
-
export const dotenv: string;
|
|
3615
|
-
export const appPath: string;
|
|
3616
|
-
export const appBuild: string;
|
|
3617
|
-
export const appPublic: string;
|
|
3618
|
-
export const appHtml: string;
|
|
3619
|
-
export const appIndexJs: any;
|
|
3620
|
-
export const appPackageJson: string;
|
|
3621
|
-
export const appSrc: string;
|
|
3622
|
-
export const appTsConfig: string;
|
|
3623
|
-
export const appJsConfig: string;
|
|
3624
|
-
export const yarnLockFile: string;
|
|
3625
|
-
export const testsSetup: any;
|
|
3626
|
-
export const proxySetup: string;
|
|
3627
|
-
export const appNodeModules: string;
|
|
3628
|
-
export const swSrc: any;
|
|
3629
|
-
export const componentsIndexJs: string;
|
|
3630
|
-
export const libBuild: string;
|
|
3631
|
-
|
|
3632
|
-
}
|
|
3633
|
-
declare module '@authing/react-ui-components/config/pnpTs' {
|
|
3634
|
-
export function resolveModuleName(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
|
|
3635
|
-
export function resolveTypeReferenceDirective(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
|
|
3636
|
-
|
|
3637
|
-
}
|
|
3638
|
-
declare module '@authing/react-ui-components/config/webpack.config' {
|
|
3639
|
-
function _exports(webpackEnv: any): {
|
|
3640
|
-
mode: string | false;
|
|
3641
|
-
bail: boolean;
|
|
3642
|
-
devtool: string | boolean;
|
|
3643
|
-
externals: string[] | undefined;
|
|
3644
|
-
entry: any;
|
|
3645
|
-
output: {
|
|
3646
|
-
library: string | undefined;
|
|
3647
|
-
libraryTarget: string | undefined;
|
|
3648
|
-
path: string | undefined;
|
|
3649
|
-
pathinfo: boolean;
|
|
3650
|
-
filename: (chunkData: any) => false | "index.min.js" | "static/js/[name].[contenthash:8].js" | "static/js/bundle.js";
|
|
3651
|
-
futureEmitAssets: boolean;
|
|
3652
|
-
chunkFilename: string | false | undefined;
|
|
3653
|
-
publicPath: any;
|
|
3654
|
-
devtoolModuleFilenameTemplate: false | ((info: any) => string) | undefined;
|
|
3655
|
-
jsonpFunction: string | undefined;
|
|
3656
|
-
globalObject: string;
|
|
3657
|
-
};
|
|
3658
|
-
optimization: {
|
|
3659
|
-
minimize: boolean;
|
|
3660
|
-
minimizer: any[];
|
|
3661
|
-
splitChunks: {
|
|
3662
|
-
cacheGroups: {
|
|
3663
|
-
default: boolean;
|
|
3664
|
-
};
|
|
3665
|
-
chunks?: undefined;
|
|
3666
|
-
name?: undefined;
|
|
3667
|
-
} | {
|
|
3668
|
-
chunks: string;
|
|
3669
|
-
name: boolean;
|
|
3670
|
-
cacheGroups?: undefined;
|
|
3671
|
-
};
|
|
3672
|
-
runtimeChunk: false | {
|
|
3673
|
-
name: (entrypoint: any) => string;
|
|
3674
|
-
};
|
|
3675
|
-
};
|
|
3676
|
-
resolve: {
|
|
3677
|
-
modules: string[];
|
|
3678
|
-
extensions: string[];
|
|
3679
|
-
alias: {
|
|
3680
|
-
src?: undefined;
|
|
3681
|
-
'react-dom$'?: string;
|
|
3682
|
-
'scheduler/tracing'?: string;
|
|
3683
|
-
'react-native': string;
|
|
3684
|
-
} | {
|
|
3685
|
-
src: string;
|
|
3686
|
-
'react-dom$'?: string;
|
|
3687
|
-
'scheduler/tracing'?: string;
|
|
3688
|
-
'react-native': string;
|
|
3689
|
-
};
|
|
3690
|
-
plugins: any[];
|
|
3691
|
-
};
|
|
3692
|
-
resolveLoader: {
|
|
3693
|
-
plugins: any[];
|
|
3694
|
-
};
|
|
3695
|
-
module: {
|
|
3696
|
-
strictExportPresence: boolean;
|
|
3697
|
-
rules: ({
|
|
3698
|
-
parser: {
|
|
3699
|
-
requireEnsure: boolean;
|
|
3700
|
-
};
|
|
3701
|
-
oneOf?: undefined;
|
|
3702
|
-
} | {
|
|
3703
|
-
oneOf: ({
|
|
3704
|
-
test: RegExp;
|
|
3705
|
-
loader: string;
|
|
3706
|
-
options?: undefined;
|
|
3707
|
-
include?: undefined;
|
|
3708
|
-
exclude?: undefined;
|
|
3709
|
-
use?: undefined;
|
|
3710
|
-
sideEffects?: undefined;
|
|
3711
|
-
} | {
|
|
3712
|
-
test: RegExp[];
|
|
3713
|
-
loader: string;
|
|
3714
|
-
options: {
|
|
3715
|
-
limit: number;
|
|
3716
|
-
mimetype: string;
|
|
3717
|
-
name: string;
|
|
3718
|
-
customize?: undefined;
|
|
3719
|
-
presets?: undefined;
|
|
3720
|
-
plugins?: undefined;
|
|
3721
|
-
cacheDirectory?: undefined;
|
|
3722
|
-
cacheCompression?: undefined;
|
|
3723
|
-
compact?: undefined;
|
|
3724
|
-
babelrc?: undefined;
|
|
3725
|
-
configFile?: undefined;
|
|
3726
|
-
sourceMaps?: undefined;
|
|
3727
|
-
inputSourceMap?: undefined;
|
|
3728
|
-
};
|
|
3729
|
-
include?: undefined;
|
|
3730
|
-
exclude?: undefined;
|
|
3731
|
-
use?: undefined;
|
|
3732
|
-
sideEffects?: undefined;
|
|
3733
|
-
} | {
|
|
3734
|
-
test: RegExp[];
|
|
3735
|
-
loader: string;
|
|
3736
|
-
options: {
|
|
3737
|
-
limit: number;
|
|
3738
|
-
name: string;
|
|
3739
|
-
mimetype?: undefined;
|
|
3740
|
-
customize?: undefined;
|
|
3741
|
-
presets?: undefined;
|
|
3742
|
-
plugins?: undefined;
|
|
3743
|
-
cacheDirectory?: undefined;
|
|
3744
|
-
cacheCompression?: undefined;
|
|
3745
|
-
compact?: undefined;
|
|
3746
|
-
babelrc?: undefined;
|
|
3747
|
-
configFile?: undefined;
|
|
3748
|
-
sourceMaps?: undefined;
|
|
3749
|
-
inputSourceMap?: undefined;
|
|
3750
|
-
};
|
|
3751
|
-
include?: undefined;
|
|
3752
|
-
exclude?: undefined;
|
|
3753
|
-
use?: undefined;
|
|
3754
|
-
sideEffects?: undefined;
|
|
3755
|
-
} | {
|
|
3756
|
-
test: RegExp;
|
|
3757
|
-
include: string;
|
|
3758
|
-
loader: string;
|
|
3759
|
-
options: {
|
|
3760
|
-
customize: string;
|
|
3761
|
-
presets: string[];
|
|
3762
|
-
plugins: (string | false | (string | {
|
|
3763
|
-
loaderMap: {
|
|
3764
|
-
svg: {
|
|
3765
|
-
ReactComponent: string;
|
|
3766
|
-
};
|
|
3767
|
-
};
|
|
3768
|
-
})[] | (string | {
|
|
3769
|
-
libraryName: string;
|
|
3770
|
-
style: boolean;
|
|
3771
|
-
})[])[];
|
|
3772
|
-
cacheDirectory: boolean;
|
|
3773
|
-
cacheCompression: boolean;
|
|
3774
|
-
compact: boolean;
|
|
3775
|
-
limit?: undefined;
|
|
3776
|
-
mimetype?: undefined;
|
|
3777
|
-
name?: undefined;
|
|
3778
|
-
babelrc?: undefined;
|
|
3779
|
-
configFile?: undefined;
|
|
3780
|
-
sourceMaps?: undefined;
|
|
3781
|
-
inputSourceMap?: undefined;
|
|
3782
|
-
};
|
|
3783
|
-
exclude?: undefined;
|
|
3784
|
-
use?: undefined;
|
|
3785
|
-
sideEffects?: undefined;
|
|
3786
|
-
} | {
|
|
3787
|
-
test: RegExp;
|
|
3788
|
-
exclude: RegExp;
|
|
3789
|
-
loader: string;
|
|
3790
|
-
options: {
|
|
3791
|
-
babelrc: boolean;
|
|
3792
|
-
configFile: boolean;
|
|
3793
|
-
compact: boolean;
|
|
3794
|
-
presets: (string | {
|
|
3795
|
-
helpers: boolean;
|
|
3796
|
-
})[][];
|
|
3797
|
-
cacheDirectory: boolean;
|
|
3798
|
-
cacheCompression: boolean;
|
|
3799
|
-
sourceMaps: boolean;
|
|
3800
|
-
inputSourceMap: boolean;
|
|
3801
|
-
limit?: undefined;
|
|
3802
|
-
mimetype?: undefined;
|
|
3803
|
-
name?: undefined;
|
|
3804
|
-
customize?: undefined;
|
|
3805
|
-
plugins?: undefined;
|
|
3806
|
-
};
|
|
3807
|
-
include?: undefined;
|
|
3808
|
-
use?: undefined;
|
|
3809
|
-
sideEffects?: undefined;
|
|
3810
|
-
} | {
|
|
3811
|
-
test: RegExp;
|
|
3812
|
-
exclude: RegExp;
|
|
3813
|
-
use: (string | false | {
|
|
3814
|
-
loader: any;
|
|
3815
|
-
options: {
|
|
3816
|
-
publicPath: string;
|
|
3817
|
-
} | {
|
|
3818
|
-
publicPath?: undefined;
|
|
3819
|
-
};
|
|
3820
|
-
} | {
|
|
3821
|
-
loader: string;
|
|
3822
|
-
options: any;
|
|
3823
|
-
})[];
|
|
3824
|
-
sideEffects: boolean;
|
|
3825
|
-
loader?: undefined;
|
|
3826
|
-
options?: undefined;
|
|
3827
|
-
include?: undefined;
|
|
3828
|
-
} | {
|
|
3829
|
-
test: RegExp;
|
|
3830
|
-
use: (string | false | {
|
|
3831
|
-
loader: any;
|
|
3832
|
-
options: {
|
|
3833
|
-
publicPath: string;
|
|
3834
|
-
} | {
|
|
3835
|
-
publicPath?: undefined;
|
|
3836
|
-
};
|
|
3837
|
-
} | {
|
|
3838
|
-
loader: string;
|
|
3839
|
-
options: any;
|
|
3840
|
-
})[];
|
|
3841
|
-
loader?: undefined;
|
|
3842
|
-
options?: undefined;
|
|
3843
|
-
include?: undefined;
|
|
3844
|
-
exclude?: undefined;
|
|
3845
|
-
sideEffects?: undefined;
|
|
3846
|
-
} | {
|
|
3847
|
-
loader: string;
|
|
3848
|
-
exclude: RegExp[];
|
|
3849
|
-
options: {
|
|
3850
|
-
name: string;
|
|
3851
|
-
limit?: undefined;
|
|
3852
|
-
mimetype?: undefined;
|
|
3853
|
-
customize?: undefined;
|
|
3854
|
-
presets?: undefined;
|
|
3855
|
-
plugins?: undefined;
|
|
3856
|
-
cacheDirectory?: undefined;
|
|
3857
|
-
cacheCompression?: undefined;
|
|
3858
|
-
compact?: undefined;
|
|
3859
|
-
babelrc?: undefined;
|
|
3860
|
-
configFile?: undefined;
|
|
3861
|
-
sourceMaps?: undefined;
|
|
3862
|
-
inputSourceMap?: undefined;
|
|
3863
|
-
};
|
|
3864
|
-
test?: undefined;
|
|
3865
|
-
include?: undefined;
|
|
3866
|
-
use?: undefined;
|
|
3867
|
-
sideEffects?: undefined;
|
|
3868
|
-
})[];
|
|
3869
|
-
parser?: undefined;
|
|
3870
|
-
})[];
|
|
3871
|
-
};
|
|
3872
|
-
plugins: any[];
|
|
3873
|
-
node: {
|
|
3874
|
-
module: string;
|
|
3875
|
-
dgram: string;
|
|
3876
|
-
dns: string;
|
|
3877
|
-
fs: string;
|
|
3878
|
-
http2: string;
|
|
3879
|
-
net: string;
|
|
3880
|
-
tls: string;
|
|
3881
|
-
child_process: string;
|
|
3882
|
-
crypto: string;
|
|
3883
|
-
Buffer: boolean;
|
|
3884
|
-
};
|
|
3885
|
-
performance: boolean;
|
|
3886
|
-
};
|
|
3887
|
-
export = _exports;
|
|
3888
|
-
|
|
3889
|
-
}
|
|
3890
|
-
declare module '@authing/react-ui-components/config/webpackDevServer.config' {
|
|
3891
|
-
function _exports(proxy: any, allowedHost: any): {
|
|
3892
|
-
disableHostCheck: boolean;
|
|
3893
|
-
compress: boolean;
|
|
3894
|
-
clientLogLevel: string;
|
|
3895
|
-
contentBase: string;
|
|
3896
|
-
contentBasePublicPath: any;
|
|
3897
|
-
watchContentBase: boolean;
|
|
3898
|
-
hot: boolean;
|
|
3899
|
-
transportMode: string;
|
|
3900
|
-
injectClient: boolean;
|
|
3901
|
-
sockHost: string | undefined;
|
|
3902
|
-
sockPath: string | undefined;
|
|
3903
|
-
sockPort: string | undefined;
|
|
3904
|
-
publicPath: any;
|
|
3905
|
-
quiet: boolean;
|
|
3906
|
-
watchOptions: {
|
|
3907
|
-
ignored: any;
|
|
3908
|
-
};
|
|
3909
|
-
https: boolean | {
|
|
3910
|
-
cert: Buffer;
|
|
3911
|
-
key: Buffer;
|
|
3912
|
-
};
|
|
3913
|
-
host: string;
|
|
3914
|
-
overlay: boolean;
|
|
3915
|
-
historyApiFallback: {
|
|
3916
|
-
disableDotRule: boolean;
|
|
3917
|
-
index: any;
|
|
3918
|
-
};
|
|
3919
|
-
public: any;
|
|
3920
|
-
proxy: any;
|
|
3921
|
-
before(app: any, server: any): void;
|
|
3922
|
-
after(app: any): void;
|
|
3923
|
-
};
|
|
3924
|
-
export = _exports;
|
|
3925
|
-
|
|
3926
|
-
}
|
|
3927
|
-
declare module '@authing/react-ui-components/examples' {
|
|
3928
|
-
export {};
|
|
3929
|
-
|
|
3930
2657
|
}
|
|
3931
2658
|
declare module '@authing/react-ui-components/index' {
|
|
3932
|
-
|
|
3933
|
-
export
|
|
2659
|
+
export * from '@authing/react-ui-components/_utils/config/index';
|
|
2660
|
+
export * from '@authing/react-ui-components/_utils/responseManagement/interface';
|
|
2661
|
+
export * from '@authing/react-ui-components/AuthClientProvider/index';
|
|
2662
|
+
export * from '@authing/react-ui-components/Guard/index';
|
|
2663
|
+
export * from '@authing/react-ui-components/Type/index';
|
|
2664
|
+
export * from '@authing/react-ui-components/version/index';
|
|
3934
2665
|
|
|
3935
2666
|
}
|
|
3936
|
-
declare module '@authing/react-ui-components/
|
|
3937
|
-
import
|
|
3938
|
-
|
|
3939
|
-
export default reportWebVitals;
|
|
3940
|
-
|
|
3941
|
-
}
|
|
3942
|
-
declare module '@authing/react-ui-components/scripts/build' {
|
|
3943
|
-
export {};
|
|
3944
|
-
|
|
3945
|
-
}
|
|
3946
|
-
declare module '@authing/react-ui-components/scripts/generate-examples' {
|
|
3947
|
-
export {};
|
|
3948
|
-
|
|
3949
|
-
}
|
|
3950
|
-
declare module '@authing/react-ui-components/scripts/generate-version' {
|
|
3951
|
-
export {};
|
|
3952
|
-
|
|
3953
|
-
}
|
|
3954
|
-
declare module '@authing/react-ui-components/scripts/lib' {
|
|
3955
|
-
export {};
|
|
3956
|
-
|
|
3957
|
-
}
|
|
3958
|
-
declare module '@authing/react-ui-components/scripts/pre-publish' {
|
|
3959
|
-
export {};
|
|
3960
|
-
|
|
3961
|
-
}
|
|
3962
|
-
declare module '@authing/react-ui-components/scripts/publish' {
|
|
3963
|
-
export {};
|
|
3964
|
-
|
|
3965
|
-
}
|
|
3966
|
-
declare module '@authing/react-ui-components/scripts/start' {
|
|
3967
|
-
export {};
|
|
3968
|
-
|
|
3969
|
-
}
|
|
3970
|
-
declare module '@authing/react-ui-components/scripts/tag' {
|
|
3971
|
-
export {};
|
|
3972
|
-
|
|
3973
|
-
}
|
|
3974
|
-
declare module '@authing/react-ui-components/scripts/test' {
|
|
3975
|
-
export {};
|
|
3976
|
-
|
|
3977
|
-
}
|
|
3978
|
-
declare module '@authing/react-ui-components/scripts/utils/is-guard-publish' {
|
|
3979
|
-
function _exports(): any;
|
|
3980
|
-
export = _exports;
|
|
3981
|
-
|
|
3982
|
-
}
|
|
3983
|
-
declare module '@authing/react-ui-components/setupTests' {
|
|
3984
|
-
import '@testing-library/jest-dom';
|
|
2667
|
+
declare module '@authing/react-ui-components/version/index' {
|
|
2668
|
+
import version from '@authing/react-ui-components/version/version';
|
|
2669
|
+
export default version;
|
|
3985
2670
|
|
|
3986
2671
|
}
|
|
3987
|
-
declare module '@authing/react-ui-components/
|
|
3988
|
-
const _default:
|
|
2672
|
+
declare module '@authing/react-ui-components/version/version' {
|
|
2673
|
+
const _default: "4.0.0-beta.1";
|
|
3989
2674
|
export default _default;
|
|
3990
2675
|
|
|
3991
2676
|
}
|