@authing/guard-shim-react18 4.5.2-alpha.3 → 4.5.2-alpha.4
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.css +1 -1
- package/dist/guard.min.js +522 -550
- package/dist/typings/src/Type/application.d.ts +1 -14
- package/dist/typings/src/_utils/index.d.ts +0 -2
- package/package.json +1 -1
- package/dist/typings/src/Login/core/withDingTalkQrcode.d.ts +0 -1
- package/dist/typings/src/Login/core/withWeComQrcode.d.ts +0 -1
|
@@ -10,9 +10,7 @@ export declare enum LoginMethods {
|
|
|
10
10
|
WxMinQr = "wechat-miniprogram-qrcode",
|
|
11
11
|
AD = "ad",
|
|
12
12
|
WechatMpQrcode = "wechatmp-qrcode",
|
|
13
|
-
AuthingOtpPush = "authing-otp-push"
|
|
14
|
-
WechatworkCorpQrconnect = "wechatwork-corp-qrconnect",
|
|
15
|
-
DingTalkQrcode = "dingtalk-qrcode"
|
|
13
|
+
AuthingOtpPush = "authing-otp-push"
|
|
16
14
|
}
|
|
17
15
|
export declare enum OIDCConnectionMode {
|
|
18
16
|
FRONT_CHANNEL = "FRONT_CHANNEL",
|
|
@@ -92,8 +90,6 @@ export interface ICasConnectionConfig {
|
|
|
92
90
|
casConnectionLoginUrl: string;
|
|
93
91
|
}
|
|
94
92
|
export interface SocialConnectionItem {
|
|
95
|
-
id: string;
|
|
96
|
-
embedded: boolean;
|
|
97
93
|
name: string;
|
|
98
94
|
name_en: string;
|
|
99
95
|
displayName: string;
|
|
@@ -118,13 +114,6 @@ export interface QrCodeItem {
|
|
|
118
114
|
id: string;
|
|
119
115
|
title: string;
|
|
120
116
|
isDefault?: boolean;
|
|
121
|
-
QRConfig?: {
|
|
122
|
-
corpId: string;
|
|
123
|
-
agentId: string;
|
|
124
|
-
redirectUrl: string;
|
|
125
|
-
identifier: string;
|
|
126
|
-
clientId?: string;
|
|
127
|
-
};
|
|
128
117
|
}
|
|
129
118
|
export declare type QrcodeTabsSettings = Record<LoginMethods, Array<QrCodeItem>>;
|
|
130
119
|
export interface OidcClientMetadata {
|
|
@@ -268,8 +257,6 @@ export interface ApplicationConfig {
|
|
|
268
257
|
displayName: string;
|
|
269
258
|
logo: string;
|
|
270
259
|
config: ISamlConnectionConfig | OIDCConnectionConfig | ICasConnectionConfig | IAzureAdConnectionConfig | IOAuthConnectionConfig;
|
|
271
|
-
/** 是否开启内嵌模式 */
|
|
272
|
-
embedded?: boolean;
|
|
273
260
|
}[];
|
|
274
261
|
ssoPageComponentDisplay: {
|
|
275
262
|
autoRegisterThenLoginHintInfo: boolean;
|
|
@@ -77,8 +77,6 @@ export declare const getI18nLabel: (method: string | RegisterSortMethods, i18nFi
|
|
|
77
77
|
export declare const getSortLabels: (methods: string[], i18nConfig: Map<string, TabFieldsI18nItem>, defaultLanguageConfig: Lang) => string;
|
|
78
78
|
export declare const getSortTabs: (tabs: string[], tab?: string) => string[];
|
|
79
79
|
export declare const isDisabled: (values: Record<string, any>, requireNames?: string[]) => boolean;
|
|
80
|
-
export declare const isWeComOrigin: (event: MessageEvent) => boolean;
|
|
81
|
-
export declare const isDingTalkOrigin: (origin: string) => boolean;
|
|
82
80
|
export * from './popupCenter';
|
|
83
81
|
export * from './clipboard';
|
|
84
82
|
export * from './locales';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LoginWithDingTalkQrcode: (props: any) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LoginWithWeComQrcode: (props: any) => JSX.Element;
|