@clownlee/cores 1.0.21 → 1.0.23
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/apis/auth.d.ts
CHANGED
|
@@ -21,4 +21,10 @@ export default class SubAppAuthApis {
|
|
|
21
21
|
* @returns AccessToken和RefreshToken
|
|
22
22
|
*/
|
|
23
23
|
getSubAppToken(clientId: string, code: string, redirectUri?: string): Promise<any>;
|
|
24
|
+
/**
|
|
25
|
+
* 获取租户列表 API(供注册/新增用户等场景选择租户)
|
|
26
|
+
* @param type 租户类型:LOGIN(登录)或 REGISTER(注册)
|
|
27
|
+
* @returns 租户列表
|
|
28
|
+
*/
|
|
29
|
+
getTenants(type?: 'LOGIN' | 'REGISTER'): Promise<any>;
|
|
24
30
|
}
|