@authing/guard-shim-react 4.5.33-alpha.1 → 4.5.33-alpha.2
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/dist/guard.min.js +439 -431
- package/dist/typings/src/ChangePassword/core/resetPassword.d.ts +1 -0
- package/dist/typings/src/Guard/core/hooks/useMultipleAccounts.d.ts +2 -2
- package/dist/typings/src/Guard/module.d.ts +2 -1
- package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +2 -2
- package/dist/typings/src/Type/application.d.ts +0 -5
- package/dist/typings/src/_utils/config/index.d.ts +1 -1
- package/dist/typings/src/_utils/context.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GuardResetPassword: () => JSX.Element;
|
|
@@ -250,7 +250,7 @@ declare class MultipleAccount {
|
|
|
250
250
|
id: string;
|
|
251
251
|
loginAccount?: string | undefined;
|
|
252
252
|
usertype?: string | undefined;
|
|
253
|
-
}, "
|
|
253
|
+
}, "tab" | "way" | "phoneCountryCode">) => void;
|
|
254
254
|
setLoginWayByHttpData: (account: string, data: {
|
|
255
255
|
username?: string | undefined;
|
|
256
256
|
phone?: string | undefined;
|
|
@@ -294,7 +294,7 @@ declare const useMultipleAccounts: ({ appId, finallyConfig }: {
|
|
|
294
294
|
id: string;
|
|
295
295
|
loginAccount?: string | undefined;
|
|
296
296
|
usertype?: string | undefined;
|
|
297
|
-
}, "
|
|
297
|
+
}, "tab" | "way" | "phoneCountryCode">) => void;
|
|
298
298
|
setLoginWayByHttpData: (account: string, data: {
|
|
299
299
|
username?: string | undefined;
|
|
300
300
|
phone?: string | undefined;
|
|
@@ -32,7 +32,8 @@ export declare enum GuardModuleType {
|
|
|
32
32
|
INVITE_COMPLETE = "inviteComplete",
|
|
33
33
|
INVITE_EXPIRE = "inviteExpire",
|
|
34
34
|
INVITE_PAGE_EXPIRE = "invitePageExpire",
|
|
35
|
-
INVITE_SUCCESS = "inviteSuccess"
|
|
35
|
+
INVITE_SUCCESS = "inviteSuccess",
|
|
36
|
+
RESET_PASSWORD = "resetPassword"
|
|
36
37
|
}
|
|
37
38
|
export interface GuardModuleAction {
|
|
38
39
|
action: string;
|
|
@@ -36,7 +36,7 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
|
|
|
36
36
|
id: string;
|
|
37
37
|
loginAccount?: string | undefined;
|
|
38
38
|
usertype?: string | undefined;
|
|
39
|
-
}, "
|
|
39
|
+
}, "tab" | "way" | "phoneCountryCode">) => void;
|
|
40
40
|
setLoginWayByHttpData: (account: string, data: {
|
|
41
41
|
username?: string | undefined;
|
|
42
42
|
phone?: string | undefined;
|
|
@@ -58,7 +58,7 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
|
|
|
58
58
|
getOriginAccount: () => string;
|
|
59
59
|
getOriginWay: () => string;
|
|
60
60
|
} | undefined;
|
|
61
|
-
referMultipleState: ((type: "
|
|
61
|
+
referMultipleState: ((type: "multiple" | "login") => void) | undefined;
|
|
62
62
|
backfillData: BackFillMultipleState | undefined;
|
|
63
63
|
defaultQrWay: string | undefined;
|
|
64
64
|
};
|
|
@@ -13,8 +13,6 @@ export declare enum LoginMethods {
|
|
|
13
13
|
WechatMpQrcode = "wechatmp-qrcode",
|
|
14
14
|
AuthingOtpPush = "authing-otp-push",
|
|
15
15
|
WechatworkCorpQrconnect = "wechatwork-corp-qrconnect",
|
|
16
|
-
WECHATWORKQRCONNECTOFAUTHINGAGENCY = "wechatwork-authing-agency-qrcode",
|
|
17
|
-
WECHATWORKAGENCYQRCONNECT = "wechatwork-agency-qrcode",
|
|
18
16
|
DingTalkQrcode = "dingtalk-qrcode",
|
|
19
17
|
Passkey = "passkey",
|
|
20
18
|
ZJZWFWQrcode = "zjzwfw-qrcode"
|
|
@@ -37,8 +35,6 @@ export declare enum SocialConnectionProvider {
|
|
|
37
35
|
WECHATWORK_ADDRESS_BOOK = "wechatwork:addressbook",
|
|
38
36
|
WECHATWORK_CORP_QRCONNECT = "wechatwork:corp:qrconnect",
|
|
39
37
|
WECHATWORK_SERVICEPROVIDER_QRCONNECT = "wechatwork:service-provider:qrconnect",
|
|
40
|
-
WECHATWORK_QRCONNECT_OF_AUTHING_AGENCY = "wechatwork:qrconnect:of:authing:agency",
|
|
41
|
-
WECHATWORK_AGENCY_QRCONNECT = "wechatwork:agency:qrconnect",
|
|
42
38
|
DINGTALK = "dingtalk",
|
|
43
39
|
WEIBO = "weibo",
|
|
44
40
|
APPLE = "apple",
|
|
@@ -125,7 +121,6 @@ export interface QrCodeItem {
|
|
|
125
121
|
id: string;
|
|
126
122
|
title: string;
|
|
127
123
|
isDefault?: boolean;
|
|
128
|
-
type?: LoginMethods;
|
|
129
124
|
QRConfig?: {
|
|
130
125
|
corpId: string;
|
|
131
126
|
agentId: string;
|
|
@@ -53,7 +53,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
|
|
|
53
53
|
loginMethods?: LoginMethods[] | undefined;
|
|
54
54
|
passwordLoginMethods?: string[] | undefined;
|
|
55
55
|
socialConnections?: import("../../Type").SocialConnectionProvider[] | undefined;
|
|
56
|
-
socialConnectionsBtnShape?: "button" | "
|
|
56
|
+
socialConnectionsBtnShape?: "button" | "icon" | "default" | undefined;
|
|
57
57
|
enterpriseConnections?: string[] | undefined;
|
|
58
58
|
qrCodeScanOptions?: {
|
|
59
59
|
extIdpConnId?: string | undefined;
|
|
@@ -123,7 +123,7 @@ export declare const useGuardMultipleInstance: () => {
|
|
|
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;
|
package/package.json
CHANGED