@authing/guard-shim-react18 4.5.46-alpha.8 → 4.5.46
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.
|
@@ -39,7 +39,7 @@ declare function useLoginSelectAccount(setLoginWay: React.Dispatch<any>): {
|
|
|
39
39
|
id: string;
|
|
40
40
|
loginAccount?: string | undefined;
|
|
41
41
|
usertype?: string | undefined;
|
|
42
|
-
}, "
|
|
42
|
+
}, "tab" | "way" | "phoneCountryCode">) => void;
|
|
43
43
|
setLoginWayByHttpData: (account: string, data: {
|
|
44
44
|
username?: string | undefined;
|
|
45
45
|
phone?: string | undefined;
|
|
@@ -61,7 +61,7 @@ declare function useLoginSelectAccount(setLoginWay: React.Dispatch<any>): {
|
|
|
61
61
|
getOriginAccount: () => string;
|
|
62
62
|
getOriginWay: () => string;
|
|
63
63
|
} | undefined;
|
|
64
|
-
referMultipleState: ((type: "
|
|
64
|
+
referMultipleState: ((type: "multiple" | "login") => void) | undefined;
|
|
65
65
|
backfillData: BackFillMultipleState | undefined;
|
|
66
66
|
defaultQrWay: string | undefined;
|
|
67
67
|
};
|
|
@@ -395,6 +395,11 @@ export interface ApplicationConfig {
|
|
|
395
395
|
switch: 'OFF' | 'ON' | 'CONDON';
|
|
396
396
|
};
|
|
397
397
|
};
|
|
398
|
+
forgetPasswordSmsConfig?: {
|
|
399
|
+
robot: {
|
|
400
|
+
switch: 'OFF' | 'ON' | 'CONDON';
|
|
401
|
+
};
|
|
402
|
+
};
|
|
398
403
|
/** 特殊浏览器匹配字符串 */
|
|
399
404
|
specialBrowserSymbols?: string[];
|
|
400
405
|
resetPwdTipsConfig?: {
|
|
@@ -54,7 +54,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
|
|
|
54
54
|
loginMethods?: LoginMethods[] | undefined;
|
|
55
55
|
passwordLoginMethods?: string[] | undefined;
|
|
56
56
|
socialConnections?: import("../../Type").SocialConnectionProvider[] | undefined;
|
|
57
|
-
socialConnectionsBtnShape?: "
|
|
57
|
+
socialConnectionsBtnShape?: "button" | "icon" | "default" | undefined;
|
|
58
58
|
enterpriseConnections?: string[] | undefined;
|
|
59
59
|
qrCodeScanOptions?: {
|
|
60
60
|
extIdpConnId?: string | undefined;
|
|
@@ -123,7 +123,7 @@ export declare const useGuardAccountSelectInstance: () => {
|
|
|
123
123
|
id: string;
|
|
124
124
|
loginAccount?: string | undefined;
|
|
125
125
|
usertype?: string | undefined;
|
|
126
|
-
}, "
|
|
126
|
+
}, "tab" | "way" | "phoneCountryCode">) => void;
|
|
127
127
|
setLoginWayByHttpData: (account: string, data: {
|
|
128
128
|
username?: string | undefined;
|
|
129
129
|
phone?: string | undefined;
|
|
@@ -164,4 +164,4 @@ export declare const useGuardTenantProvider: () => MultipleTenant | undefined;
|
|
|
164
164
|
/** 当前人机验证策略 */
|
|
165
165
|
export declare const useRobotVerify: () => "always_enable" | "disable" | "condition_set";
|
|
166
166
|
/** 当前应用是否开启人机验证策略 */
|
|
167
|
-
export declare const useCaptchaCheck: (sence: 'login' | 'register') => boolean;
|
|
167
|
+
export declare const useCaptchaCheck: (sence: 'login' | 'register' | 'forget-password') => boolean;
|
package/package.json
CHANGED