@authing/guard-shim-react 4.5.21 → 4.5.22
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.
|
@@ -18,5 +18,5 @@ export declare const isWeComeBrowser: () => boolean;
|
|
|
18
18
|
export declare const isMobile: () => RegExpMatchArray | null;
|
|
19
19
|
export declare const isWebview: () => boolean | null;
|
|
20
20
|
export declare const isLenovoNetdisk: () => boolean | null;
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const computeIsSpecialBrowser: (specialBrowserSymbol?: string[]) => boolean;
|
|
22
22
|
export declare const getPhoneInLoginPageContext: () => any;
|
|
@@ -49,6 +49,8 @@ export interface IGuardContext {
|
|
|
49
49
|
defaultLanguageConfig: Lang;
|
|
50
50
|
/** 租户信息获取和操作处理相关 */
|
|
51
51
|
tenantInstance?: MultipleTenant;
|
|
52
|
+
/** 特殊浏览器,身份源无法弹窗,非托管模式不显示身份源图标 */
|
|
53
|
+
isSpecialBrowser: boolean;
|
|
52
54
|
}
|
|
53
55
|
export declare const createGuardXContext: () => {
|
|
54
56
|
Provider: React.FC<{
|
|
@@ -76,6 +78,7 @@ export declare const useGuardButtonContext: () => {
|
|
|
76
78
|
export declare const useGuardButtonState: () => IGuardContextProvider;
|
|
77
79
|
export declare const useGuardPublicConfig: () => ApplicationConfig;
|
|
78
80
|
export declare const useGuardHttpClient: () => GuardHttp;
|
|
81
|
+
export declare const useIsSpecialBrowser: () => boolean;
|
|
79
82
|
export declare const useGuardDefaultMergedConfig: () => GuardLocalConfig;
|
|
80
83
|
export declare const useGuardAppId: () => string;
|
|
81
84
|
export declare const useGuardTenantId: () => string | undefined;
|