@authing/react-ui-components 4.1.0-rc.9 → 4.1.1-beta.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.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
- package/types/BindTotp/businessRequest.d.ts +1 -1
- package/types/ChangePassword/businessRequest.d.ts +1 -1
- package/types/CompleteInfo/businessRequest.d.ts +2 -2
- package/types/ForgetPassword/InputPassword/index.d.ts +4 -0
- package/types/ForgetPassword/core/inputIdentify.d.ts +7 -0
- package/types/ForgetPassword/core/resetPassword.d.ts +5 -1
- package/types/Guard/GuardModule/stateMachine.d.ts +1 -1
- package/types/Guard/core/hooks/useMultipleAccounts.d.ts +2 -4
- package/types/Guard/core/renderModule.d.ts +1 -1
- package/types/Guard/event.d.ts +1 -2
- package/types/Guard/module.d.ts +4 -2
- package/types/GuardFace/index.d.ts +16 -0
- package/types/GuardSelect/index.d.ts +29 -0
- package/types/IdentityBinding/businessRequest.d.ts +2 -2
- package/types/ImagePro/index.d.ts +1 -0
- package/types/Login/core/withPassword/FormItemAccount.d.ts +2 -1
- package/types/Login/core/withPassword/InputAccount.d.ts +0 -1
- package/types/Login/hooks/useLoginMultiple.d.ts +1 -2
- package/types/MFA/businessRequest.d.ts +1 -1
- package/types/MFA/interface.d.ts +1 -1
- package/types/RecoveryCode/businessRequest.d.ts +1 -1
- package/types/Register/core/WithEmail.d.ts +0 -2
- package/types/Register/interface.d.ts +2 -2
- package/types/TenantPortalSelect/index.d.ts +16 -0
- package/types/Type/application.d.ts +16 -29
- package/types/Type/index.d.ts +4 -4
- package/types/ValidatorRules/ValidatorFormItem.d.ts +0 -1
- package/types/ValidatorRules/index.d.ts +2 -4
- package/types/_utils/GuardErrorCode.d.ts +1 -1
- package/types/_utils/config/index.d.ts +3 -3
- package/types/_utils/context.d.ts +9 -8
- package/types/_utils/hooks/index.d.ts +1 -1
- package/types/_utils/index.d.ts +6 -7
- package/types/_utils/logger/interface.d.ts +1 -1
- package/types/_utils/responseManagement/interface.d.ts +4 -3
- package/types/_utils/tenant.d.ts +19 -0
- package/types/version/version.d.ts +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ApplicationConfig } from '../Type';
|
|
2
|
+
/** **当前租户应用** 下的租户信息获取和操作处理,将租户相关的处理收拢 */
|
|
3
|
+
export declare class MultipleTenant {
|
|
4
|
+
private $config;
|
|
5
|
+
private $tenantId;
|
|
6
|
+
constructor(tenantId: string, config: ApplicationConfig);
|
|
7
|
+
/** 获取租户ID */
|
|
8
|
+
getCurrentTenantId: () => string | null;
|
|
9
|
+
/** 获取租户详情 */
|
|
10
|
+
getCurrentTenantInfo: () => Record<string, any> | undefined;
|
|
11
|
+
/**是否为【租户控制台】 */
|
|
12
|
+
isTenantConsole: () => boolean | undefined;
|
|
13
|
+
/** 是否为租户【单点登录】 */
|
|
14
|
+
isTenantSSO: () => boolean | "" | null;
|
|
15
|
+
/** 是否为租户【单点登录面板】 */
|
|
16
|
+
isTenantSSOLaunchPad: () => boolean | "" | null;
|
|
17
|
+
}
|
|
18
|
+
/** 初始化多租户实例 */
|
|
19
|
+
export declare const useMultipleTenant: (tenantId: string, publicConfig: ApplicationConfig) => MultipleTenant | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.1.
|
|
1
|
+
declare const _default: "4.1.1-beta.0";
|
|
2
2
|
export default _default;
|