@authing/react-ui-components 3.1.25 → 3.1.27-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +29 -5
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +5 -4
- package/LICENSE +0 -21
package/lib/index.d.ts
CHANGED
|
@@ -451,6 +451,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
451
451
|
description?: string;
|
|
452
452
|
redirectUris: string[];
|
|
453
453
|
registerDisabled: boolean;
|
|
454
|
+
mergeAdAndAccountPasswordLogin: boolean;
|
|
454
455
|
registerTabs: {
|
|
455
456
|
list: string[];
|
|
456
457
|
default: string;
|
|
@@ -1166,13 +1167,23 @@ declare module '@authing/react-ui-components/components/ChangeLanguage/index' {
|
|
|
1166
1167
|
declare module '@authing/react-ui-components/components/ChangePassword/businessRequest' {
|
|
1167
1168
|
export enum ChangePasswordBusinessAction {
|
|
1168
1169
|
ResetPassword = "reset-password-first-time",
|
|
1169
|
-
FirstLoginReset = "reset-password-forced"
|
|
1170
|
+
FirstLoginReset = "reset-password-forced",
|
|
1171
|
+
ResetPasswordStrengthDetection = "reset-password-strength-detection"
|
|
1170
1172
|
}
|
|
1171
1173
|
export const authFlow: (action: ChangePasswordBusinessAction, content: {
|
|
1172
1174
|
password: string;
|
|
1173
1175
|
oldPassword?: string;
|
|
1174
1176
|
}) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
|
|
1175
1177
|
|
|
1178
|
+
}
|
|
1179
|
+
declare module '@authing/react-ui-components/components/ChangePassword/core/PasswordNotSafeReset' {
|
|
1180
|
+
import React from 'react';
|
|
1181
|
+
interface PasswordNotSafeResetProps {
|
|
1182
|
+
onReset: any;
|
|
1183
|
+
}
|
|
1184
|
+
export const PasswordNotSafeReset: React.FC<PasswordNotSafeResetProps>;
|
|
1185
|
+
export {};
|
|
1186
|
+
|
|
1176
1187
|
}
|
|
1177
1188
|
declare module '@authing/react-ui-components/components/ChangePassword/core/completePassword' {
|
|
1178
1189
|
import React from 'react';
|
|
@@ -1205,6 +1216,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1205
1216
|
explain: string;
|
|
1206
1217
|
}>;
|
|
1207
1218
|
export const GuardFirstLoginPasswordResetView: React.FC;
|
|
1219
|
+
export const GuardPasswordNotSafeResetView: React.FC;
|
|
1208
1220
|
export const GuardForcedPasswordResetView: React.FC;
|
|
1209
1221
|
export const GuardNoticePasswordResetView: React.FC;
|
|
1210
1222
|
export const GuardRegisterCompletePasswordView: React.FC;
|
|
@@ -1686,6 +1698,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1686
1698
|
FORCED_PASSWORD_RESET = "forcedPasswordReset",
|
|
1687
1699
|
NOTICE_PASSWORD_RESET = "noticePasswordReset",
|
|
1688
1700
|
FIRST_LOGIN_PASSWORD = "firstLoginPassword",
|
|
1701
|
+
UNSAFE_PASSWORD_RESET = "unsafePasswordReset",
|
|
1689
1702
|
DOWNLOAD_AT = "downloadAT",
|
|
1690
1703
|
BIND_TOTP = "bindTotp",
|
|
1691
1704
|
ANY_QUESTIONS = "anyQuestions",
|
|
@@ -3129,7 +3142,7 @@ declare module '@authing/react-ui-components/components/_utils/guardHttp' {
|
|
|
3129
3142
|
setTenantId(tenantId: string): this;
|
|
3130
3143
|
setBaseUrl(baseUrl: string): this;
|
|
3131
3144
|
getHeaders: () => Record<string, string>;
|
|
3132
|
-
get: <T = any>(path: string, query?: Record<string, any>, config?:
|
|
3145
|
+
get: <T = any>(path: string, query?: Record<string, any>, config?: any) => Promise<AuthingGuardResponse<T>>;
|
|
3133
3146
|
post: <T = any>(path: string, data: any, config?: {
|
|
3134
3147
|
headers: any;
|
|
3135
3148
|
} | undefined) => Promise<AuthingGuardResponse<T>>;
|
|
@@ -3193,9 +3206,10 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
3193
3206
|
}
|
|
3194
3207
|
declare module '@authing/react-ui-components/components/_utils/http' {
|
|
3195
3208
|
import { CodeAction } from '@authing/react-ui-components/components/_utils/responseManagement/interface';
|
|
3209
|
+
import { AxiosRequestConfig } from 'axios';
|
|
3196
3210
|
export const requestClient: {
|
|
3197
3211
|
(input: RequestInfo, init?: RequestInit | undefined): Promise<any>;
|
|
3198
|
-
get<T>(path: string, query?: Record<string, any>, init?:
|
|
3212
|
+
get<T>(path: string, query?: Record<string, any>, init?: AxiosRequestConfig<any> | undefined): Promise<AuthingResponse<T>>;
|
|
3199
3213
|
post<T_1>(path: string, data: any, config?: {
|
|
3200
3214
|
headers: any;
|
|
3201
3215
|
} | undefined): Promise<AuthingResponse<T_1>>;
|
|
@@ -3412,10 +3426,20 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3412
3426
|
UNLOCK = 1643,
|
|
3413
3427
|
FLOW_END = 1600,
|
|
3414
3428
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3415
|
-
FORCED_PASSWORD_RESET = 2058
|
|
3429
|
+
FORCED_PASSWORD_RESET = 2058,
|
|
3430
|
+
UNSAFE_PASSWORD_TIP = 2061,
|
|
3431
|
+
UNSAFE_PASSWORD_RESET = 2071
|
|
3416
3432
|
}
|
|
3417
3433
|
export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
|
|
3418
3434
|
|
|
3435
|
+
}
|
|
3436
|
+
declare module '@authing/react-ui-components/components/_utils/useErrorText' {
|
|
3437
|
+
import React from 'react';
|
|
3438
|
+
export const usePasswordErrorText: () => {
|
|
3439
|
+
setPasswordErrorTextShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
3440
|
+
getPassWordUnsafeText: () => JSX.Element;
|
|
3441
|
+
};
|
|
3442
|
+
|
|
3419
3443
|
}
|
|
3420
3444
|
declare module '@authing/react-ui-components/components/context/base' {
|
|
3421
3445
|
import React from 'react';
|
|
@@ -3509,7 +3533,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3509
3533
|
|
|
3510
3534
|
}
|
|
3511
3535
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3512
|
-
const _default: "3.1.
|
|
3536
|
+
const _default: "3.1.27-rc.0";
|
|
3513
3537
|
export default _default;
|
|
3514
3538
|
|
|
3515
3539
|
}
|