authing_ruby 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/authing_ruby/authentication/AuthenticationClient.rb +7 -4
- data/lib/authing_ruby/common/GraphqlClient.rb +44 -4
- data/lib/authing_ruby/management/ManagementClient.rb +1 -1
- data/lib/authing_ruby/management/ManagementTokenProvider.rb +7 -3
- data/lib/authing_ruby/test/js_sdk_test/2.registerByPhoneCode.js +130 -0
- data/lib/authing_ruby/test/js_sdk_test/3.sendSMS.js +23 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.d.ts +41 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.js +60 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.js +6 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.d.ts +4 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.js +6 -5
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.d.ts +10 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.js +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.js +10 -8
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.js +17 -15
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.d.ts +12 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.js +192 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.js +5 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.d.ts +5 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.js +29 -11
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.d.ts +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.js +15 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.d.ts +34 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.js +71 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.d.ts +6 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.js +45 -10
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.d.ts +34 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.js +189 -52
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.d.ts +10 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.js +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.d.ts +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.js +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.d.ts +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.js +2 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.d.ts +661 -32
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.js +30 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.d.ts +41 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.js +61 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.js +6 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.d.ts +4 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.js +6 -5
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.d.ts +10 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.js +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.js +10 -8
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.js +17 -15
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.d.ts +12 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.js +192 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.js +5 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.d.ts +5 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.js +30 -12
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.d.ts +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.js +15 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.d.ts +34 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.js +72 -4
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.d.ts +6 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.js +46 -11
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.d.ts +34 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.js +190 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.d.ts +10 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.js +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.d.ts +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.js +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.d.ts +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.js +2 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.d.ts +661 -32
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.js +29 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.d.ts +41 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.js +60 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.js +6 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.d.ts +4 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.js +6 -5
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.d.ts +10 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.js +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.js +10 -8
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.js +17 -15
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.d.ts +12 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.js +192 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.js +5 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.d.ts +5 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.js +29 -11
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.d.ts +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.js +15 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.d.ts +34 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.js +71 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.d.ts +6 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.js +45 -10
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.d.ts +34 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.js +189 -52
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.d.ts +10 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.js +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.d.ts +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.js +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.d.ts +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.js +2 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.d.ts +661 -32
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.js +30 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/package.json +1 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/CHANGELOG.md +210 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/LICENSE +23 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/README.md +275 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/config.js +11 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/cli-options.js +13 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/main.js +118 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/package.json +57 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/index.d.ts +59 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/test.ts +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tsconfig.json +15 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tslint.json +6 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/index.js +0 -4
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/package.json +1 -1
- data/lib/authing_ruby/test/js_sdk_test/package-lock.json +7 -7
- data/lib/authing_ruby/test/js_sdk_test/package.json +3 -2
- data/lib/authing_ruby/test/js_sdk_test/yarn.lock +71 -0
- data/lib/authing_ruby/test/mini_test/TestAuthenticationClient.rb +21 -6
- data/lib/authing_ruby/test/mini_test/TestManagementClient.rb +4 -3
- data/lib/authing_ruby/test/sms.rb +18 -0
- data/lib/authing_ruby/utils/utils.rb +32 -1
- data/lib/authing_ruby/version.rb +1 -1
- metadata +18 -2
@@ -94,7 +94,7 @@ var ApplicationsManagementClient = /** @class */ (function () {
|
|
94
94
|
return [4 /*yield*/, this.httpClient.request({
|
95
95
|
url: this.options.host + "/api/v2/applications",
|
96
96
|
method: 'GET',
|
97
|
-
|
97
|
+
params: {
|
98
98
|
page: page,
|
99
99
|
limit: limit
|
100
100
|
}
|
@@ -391,7 +391,9 @@ var ApplicationsManagementClient = /** @class */ (function () {
|
|
391
391
|
return __awaiter(this, void 0, void 0, function () {
|
392
392
|
return __generator(this, function (_a) {
|
393
393
|
switch (_a.label) {
|
394
|
-
case 0: return [4 /*yield*/, this.roles.listUsers(code,
|
394
|
+
case 0: return [4 /*yield*/, this.roles.listUsers(code, {
|
395
|
+
namespace: appId
|
396
|
+
})];
|
395
397
|
case 1: return [2 /*return*/, _a.sent()];
|
396
398
|
}
|
397
399
|
});
|
@@ -528,4 +530,4 @@ var ApplicationsManagementClient = /** @class */ (function () {
|
|
528
530
|
return ApplicationsManagementClient;
|
529
531
|
}());
|
530
532
|
exports.ApplicationsManagementClient = ApplicationsManagementClient;
|
531
|
-
//# sourceMappingURL=data:application/json;base64,
|
533
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXBwbGljYXRpb25zTWFuYWdlbWVudENsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvbWFuYWdlbWVudC9BcHBsaWNhdGlvbnNNYW5hZ2VtZW50Q2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBU0EsNkRBQTREO0FBRTVELGlFQUFnRTtBQUVoRSx5RUFBd0U7QUFFeEU7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWtCRztBQUNIO0lBU0Usc0NBQ0UsT0FBZ0MsRUFDaEMsVUFBc0IsRUFDdEIsYUFBNEIsRUFDNUIsYUFBc0M7UUFFdEMsSUFBSSxDQUFDLE9BQU8sR0FBRyxPQUFPLENBQUM7UUFDdkIsSUFBSSxDQUFDLFVBQVUsR0FBRyxVQUFVLENBQUM7UUFDN0IsSUFBSSxDQUFDLGFBQWEsR0FBRyxhQUFhLENBQUM7UUFDbkMsSUFBSSxDQUFDLGFBQWEsR0FBRyxhQUFhLENBQUM7UUFDbkMsSUFBSSxDQUFDLEdBQUcsR0FBRyxJQUFJLHlDQUFtQixDQUNoQyxPQUFPLEVBQ1AsYUFBYSxFQUNiLFVBQVUsRUFDVixhQUFhLENBQ2QsQ0FB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ManagementClient
|
142
142
|
*/
|
143
|
-
listUsers(code: string,
|
143
|
+
listUsers(code: string, options?: {
|
144
|
+
withCustomData?: boolean;
|
145
|
+
page?: number;
|
146
|
+
limit?: number;
|
147
|
+
}): Promise<DeepPartial<PaginatedUsers>>;
|
144
148
|
/**
|
145
149
|
* @name addUsers
|
146
150
|
* @name_zh 添加用户
|
@@ -267,21 +267,39 @@ var GroupsManagementClient = /** @class */ (function () {
|
|
267
267
|
* @returns {Promise<DeepPartial<PaginatedUsers>>}
|
268
268
|
* @memberof GroupsManagementClient
|
269
269
|
*/
|
270
|
-
GroupsManagementClient.prototype.listUsers = function (code,
|
271
|
-
if (page === void 0) { page = 1; }
|
272
|
-
if (limit === void 0) { limit = 10; }
|
270
|
+
GroupsManagementClient.prototype.listUsers = function (code, options) {
|
273
271
|
return __awaiter(this, void 0, void 0, function () {
|
274
|
-
var data;
|
275
|
-
return __generator(this, function (
|
276
|
-
switch (
|
277
|
-
case 0:
|
272
|
+
var _a, _b, withCustomData, _c, page, _d, limit, data, data, _e, totalCount, list;
|
273
|
+
return __generator(this, function (_f) {
|
274
|
+
switch (_f.label) {
|
275
|
+
case 0:
|
276
|
+
_a = options || {}, _b = _a.withCustomData, withCustomData = _b === void 0 ? false : _b, _c = _a.page, page = _c === void 0 ? 1 : _c, _d = _a.limit, limit = _d === void 0 ? 10 : _d;
|
277
|
+
if (!!withCustomData) return [3 /*break*/, 2];
|
278
|
+
return [4 /*yield*/, graphqlapi_1.groupWithUsers(this.graphqlClient, this.tokenProvider, {
|
279
|
+
code: code,
|
280
|
+
page: page,
|
281
|
+
limit: limit
|
282
|
+
})];
|
283
|
+
case 1:
|
284
|
+
data = (_f.sent()).group;
|
285
|
+
return [2 /*return*/, data.users];
|
286
|
+
case 2: return [4 /*yield*/, graphqlapi_1.groupWithUsersWithCustomData(this.graphqlClient, this.tokenProvider, {
|
278
287
|
code: code,
|
279
288
|
page: page,
|
280
289
|
limit: limit
|
281
290
|
})];
|
282
|
-
case
|
283
|
-
data = (
|
284
|
-
|
291
|
+
case 3:
|
292
|
+
data = (_f.sent()).group;
|
293
|
+
_e = data.users, totalCount = _e.totalCount, list = _e.list;
|
294
|
+
list = list.map(function (user) {
|
295
|
+
// @ts-ignore
|
296
|
+
user.customData = convertUdvToKeyValuePair(user.customData);
|
297
|
+
return user;
|
298
|
+
});
|
299
|
+
return [2 /*return*/, {
|
300
|
+
totalCount: totalCount,
|
301
|
+
list: list
|
302
|
+
}];
|
285
303
|
}
|
286
304
|
});
|
287
305
|
});
|
@@ -383,4 +401,4 @@ var GroupsManagementClient = /** @class */ (function () {
|
|
383
401
|
return GroupsManagementClient;
|
384
402
|
}());
|
385
403
|
exports.GroupsManagementClient = GroupsManagementClient;
|
386
|
-
//# sourceMappingURL=data:application/json;base64,
|
404
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JvdXBzTWFuYWdlbWVudENsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvbWFuYWdlbWVudC9Hcm91cHNNYW5hZ2VtZW50Q2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUdBLDRDQVd1QjtBQVV2QixrQ0FBcUQ7QUFFckQ7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FtQkc7QUFDSDtJQUtFLGdDQUNFLE9BQWdDLEVBQ2hDLGFBQTRCLEVBQzVCLGFBQXNDO1FBRXRDLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO1FBQ3ZCLElBQUksQ0FBQyxhQUFhLEdBQUcsYUFBYSxDQUFDO1FBQ25DLElBQUksQ0FBQyxhQUFhLEdBQUcsYUFBYSxDQUFDO0lBQ3JDLENBQUM7SUFFRDs7Ozs7Ozs7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QUksRUFBRSxDQUFBLGFBQWxCLENBQW1CO3dCQUNyQixxQkFBTSx5Q0FBNEIsQ0FDbEQsSUFBSSxDQUFDLGFBQWEsRUFDbEIsSUFBSSxDQUFDLGFBQWEsRUFDbEI7Z0NBQ0UsSUFBSSxNQUFBO2dDQUNKLFNBQVMsV0FBQTtnQ0FDVCxZQUFZLGNBQUE7NkJBQ2IsQ0FDRixFQUFBOzt3QkFSTyxLQUFLLEdBQUssQ0FBQSxTQVFqQixDQUFBLE1BUlk7d0JBU2IsSUFBSSxDQUFDLEtBQUssRUFBRTs0QkFDVixNQUFNLElBQUksS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO3lCQUMxQjt3QkFFQyxLQUNFLEtBQUssb0JBRGtDLEVBQWxCLElBQUksVUFBQSxFQUFFLFVBQVUsZ0JBQUEsQ0FDL0I7d0JBQ1YsSUFBSSxHQUFHLGlDQUF5QixDQUFDLElBQUksQ0FBQyxDQUFDO3dCQUN2QyxzQkFBTztnQ0FDTCxJQUFJLE1BQUE7Z0NBQ0osVUFBVSxZQUFBOzZCQUNYLEVBQUM7Ozs7S0FDSDtJQUNILDZCQUFDO0FBQUQsQ0FBQyxBQXZVRCxJQXVVQztBQXZVWSx3REFBc0IifQ==
|
@@ -13,6 +13,7 @@ import { StatisticsManagementClient } from './StatisticsManagementClient';
|
|
13
13
|
import { UserActionManagementClient } from './UserActionManagementClient';
|
14
14
|
import { ApplicationsManagementClient } from './ApplicationsManagementClient';
|
15
15
|
import { MFAManagementClient } from './MFAManagementClient';
|
16
|
+
import { Lang } from '../../types';
|
16
17
|
export declare class ManagementClient {
|
17
18
|
options: ManagementClientOptions;
|
18
19
|
private graphqlClient;
|
@@ -71,4 +72,8 @@ export declare class ManagementClient {
|
|
71
72
|
valid: boolean;
|
72
73
|
message: string;
|
73
74
|
}[]>;
|
75
|
+
/**
|
76
|
+
* @description 设置语言
|
77
|
+
*/
|
78
|
+
setLang(lang: Lang): void;
|
74
79
|
}
|
@@ -68,7 +68,14 @@ var DEFAULT_OPTIONS = {
|
|
68
68
|
},
|
69
69
|
host: 'https://core.authing.cn',
|
70
70
|
requestFrom: 'sdk',
|
71
|
-
encryptFunction: utils_1.encrypt
|
71
|
+
encryptFunction: utils_1.encrypt,
|
72
|
+
headers: {
|
73
|
+
'userpool-id': 'x-authing-userpool-id',
|
74
|
+
'app-id': 'x-authing-app-id',
|
75
|
+
'request-from': 'x-authing-request-from',
|
76
|
+
'sdk-version': 'x-authing-sdk-version',
|
77
|
+
lang: 'x-authing-lang'
|
78
|
+
}
|
72
79
|
};
|
73
80
|
var ManagementClient = /** @class */ (function () {
|
74
81
|
function ManagementClient(options) {
|
@@ -184,7 +191,13 @@ var ManagementClient = /** @class */ (function () {
|
|
184
191
|
});
|
185
192
|
});
|
186
193
|
};
|
194
|
+
/**
|
195
|
+
* @description 设置语言
|
196
|
+
*/
|
197
|
+
ManagementClient.prototype.setLang = function (lang) {
|
198
|
+
this.options.lang = lang;
|
199
|
+
};
|
187
200
|
return ManagementClient;
|
188
201
|
}());
|
189
202
|
exports.ManagementClient = ManagementClient;
|
190
|
-
//# sourceMappingURL=data:application/json;base64,
|
203
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWFuYWdlbWVudENsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvbWFuYWdlbWVudC9NYW5hZ2VtZW50Q2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDZEQUE0RDtBQUM1RCx5REFBd0Q7QUFDeEQscUVBQW9FO0FBRXBFLHVFQUFzRTtBQUN0RSxpRUFBZ0U7QUFDaEUsNENBQTBDO0FBRTFDLG1EQUFrRDtBQUNsRCxnREFBMEI7QUFDMUIs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LE1BQU0sRUFBRSxNQUFNOzRCQUNkLEdBQUcsRUFBSyxJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksMkJBQXdCOzRCQUNqRCxJQUFJLEVBQUU7Z0NBQ0osUUFBUSxVQUFBOzZCQUNUO3lCQUNGLENBQUMsRUFBQTs0QkFORixzQkFBTyxTQU1MLEVBQUM7Ozs7S0FDSjtJQUVEOztPQUVHO0lBQ0gsa0NBQU8sR0FBUCxVQUFRLElBQVU7UUFDaEIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDO0lBQzNCLENBQUM7SUFDSCx1QkFBQztBQUFELENBQUMsQUFoTkQsSUFnTkM7QUFoTlksNENBQWdCIn0=
|
@@ -308,7 +308,7 @@ export declare class OrgManagementClient {
|
|
308
308
|
* @returns {Promise<Node[]>}
|
309
309
|
* @memberof OrgManagementClient
|
310
310
|
*/
|
311
|
-
listChildren(
|
311
|
+
listChildren(nodeId: string): Promise<{
|
312
312
|
id: string;
|
313
313
|
orgId?: string;
|
314
314
|
name: string;
|
@@ -409,6 +409,11 @@ export declare class OrgManagementClient {
|
|
409
409
|
*
|
410
410
|
*/
|
411
411
|
addMembers(nodeId: string, userIds: string[]): Promise<PaginatedUsers>;
|
412
|
+
moveMembers(options: {
|
413
|
+
userIds: string[];
|
414
|
+
targetNodeId: string;
|
415
|
+
sourceNodeId: string;
|
416
|
+
}): Promise<boolean>;
|
412
417
|
/**
|
413
418
|
* @name listMembers
|
414
419
|
* @name_zh 获取节点成员
|
@@ -485,4 +490,32 @@ export declare class OrgManagementClient {
|
|
485
490
|
listAuthorizedResourcesByNodeCode(orgId: string, code: string, namespace: string, options?: {
|
486
491
|
resourceType?: ResourceType;
|
487
492
|
}): Promise<PaginatedAuthorizedResources>;
|
493
|
+
startSync(options: {
|
494
|
+
providerType: 'dingtalk' | 'wechatwork' | 'ad';
|
495
|
+
adConnectorId?: string;
|
496
|
+
}): Promise<boolean>;
|
497
|
+
/**
|
498
|
+
* @description 搜索组织机构节点
|
499
|
+
*
|
500
|
+
* @param keyword 查询关键词
|
501
|
+
* @returns
|
502
|
+
*/
|
503
|
+
searchNodes(keyword: string): Promise<{
|
504
|
+
id: string;
|
505
|
+
orgId?: string;
|
506
|
+
name: string;
|
507
|
+
nameI18n?: string;
|
508
|
+
description?: string;
|
509
|
+
descriptionI18n?: string;
|
510
|
+
order?: number;
|
511
|
+
code?: string;
|
512
|
+
root?: boolean;
|
513
|
+
depth?: number;
|
514
|
+
path: string[];
|
515
|
+
codePath: string[];
|
516
|
+
namePath: string[];
|
517
|
+
createdAt?: string;
|
518
|
+
updatedAt?: string;
|
519
|
+
children?: string[];
|
520
|
+
}[]>;
|
488
521
|
}
|
@@ -443,13 +443,12 @@ var OrgManagementClient = /** @class */ (function () {
|
|
443
443
|
* @returns {Promise<Node[]>}
|
444
444
|
* @memberof OrgManagementClient
|
445
445
|
*/
|
446
|
-
OrgManagementClient.prototype.listChildren = function (
|
446
|
+
OrgManagementClient.prototype.listChildren = function (nodeId) {
|
447
447
|
return __awaiter(this, void 0, void 0, function () {
|
448
448
|
var res;
|
449
449
|
return __generator(this, function (_a) {
|
450
450
|
switch (_a.label) {
|
451
451
|
case 0: return [4 /*yield*/, graphqlapi_1.getChildrenNodes(this.graphqlClient, this.tokenProvider, {
|
452
|
-
orgId: orgId,
|
453
452
|
nodeId: nodeId
|
454
453
|
})];
|
455
454
|
case 1:
|
@@ -573,6 +572,18 @@ var OrgManagementClient = /** @class */ (function () {
|
|
573
572
|
});
|
574
573
|
});
|
575
574
|
};
|
575
|
+
OrgManagementClient.prototype.moveMembers = function (options) {
|
576
|
+
return __awaiter(this, void 0, void 0, function () {
|
577
|
+
return __generator(this, function (_a) {
|
578
|
+
switch (_a.label) {
|
579
|
+
case 0: return [4 /*yield*/, graphqlapi_1.moveMembers(this.graphqlClient, this.tokenProvider, options)];
|
580
|
+
case 1:
|
581
|
+
_a.sent();
|
582
|
+
return [2 /*return*/, true];
|
583
|
+
}
|
584
|
+
});
|
585
|
+
});
|
586
|
+
};
|
576
587
|
/**
|
577
588
|
* @name listMembers
|
578
589
|
* @name_zh 获取节点成员
|
@@ -766,7 +777,64 @@ var OrgManagementClient = /** @class */ (function () {
|
|
766
777
|
});
|
767
778
|
});
|
768
779
|
};
|
780
|
+
OrgManagementClient.prototype.startSync = function (options) {
|
781
|
+
return __awaiter(this, void 0, void 0, function () {
|
782
|
+
var providerType, adConnectorId, url, body;
|
783
|
+
return __generator(this, function (_a) {
|
784
|
+
switch (_a.label) {
|
785
|
+
case 0:
|
786
|
+
providerType = options.providerType, adConnectorId = options.adConnectorId;
|
787
|
+
url = '';
|
788
|
+
body = {};
|
789
|
+
if (providerType === 'wechatwork') {
|
790
|
+
url = this.options.host + "/connections/enterprise/wechatwork/start-sync";
|
791
|
+
}
|
792
|
+
else if (providerType === 'dingtalk') {
|
793
|
+
url = this.options.host + "/connections/enterprise/dingtalk/start-sync";
|
794
|
+
}
|
795
|
+
else if (providerType === 'ad') {
|
796
|
+
if (!adConnectorId) {
|
797
|
+
throw new Error('must provider adConnectorId');
|
798
|
+
}
|
799
|
+
url = this.options.host + "/api/v2/ad/sync";
|
800
|
+
body = {
|
801
|
+
connectionId: adConnectorId
|
802
|
+
};
|
803
|
+
}
|
804
|
+
return [4 /*yield*/, this.httpClient.request({
|
805
|
+
method: 'POST',
|
806
|
+
url: url,
|
807
|
+
data: body
|
808
|
+
})];
|
809
|
+
case 1:
|
810
|
+
_a.sent();
|
811
|
+
return [2 /*return*/, true];
|
812
|
+
}
|
813
|
+
});
|
814
|
+
});
|
815
|
+
};
|
816
|
+
/**
|
817
|
+
* @description 搜索组织机构节点
|
818
|
+
*
|
819
|
+
* @param keyword 查询关键词
|
820
|
+
* @returns
|
821
|
+
*/
|
822
|
+
OrgManagementClient.prototype.searchNodes = function (keyword) {
|
823
|
+
return __awaiter(this, void 0, void 0, function () {
|
824
|
+
var data;
|
825
|
+
return __generator(this, function (_a) {
|
826
|
+
switch (_a.label) {
|
827
|
+
case 0: return [4 /*yield*/, graphqlapi_1.searchNodes(this.graphqlClient, this.tokenProvider, {
|
828
|
+
keyword: keyword
|
829
|
+
})];
|
830
|
+
case 1:
|
831
|
+
data = (_a.sent()).searchNodes;
|
832
|
+
return [2 /*return*/, data];
|
833
|
+
}
|
834
|
+
});
|
835
|
+
});
|
836
|
+
};
|
769
837
|
return OrgManagementClient;
|
770
838
|
}());
|
771
839
|
exports.OrgManagementClient = OrgManagementClient;
|
772
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiT3JnTWFuYWdlbWVudENsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvbWFuYWdlbWVudC9PcmdNYW5hZ2VtZW50Q2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUdBLGdEQUFnRTtBQUNoRSw0Q0FtQnVCO0FBV3ZCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBbUJHO0FBQ0g7SUFNRSw2QkFDRSxPQUFnQyxFQUNoQyxhQUE0QixFQUM1QixVQUFzQixFQUN0QixhQUFzQztRQUV0QyxJQUFJLENBQUMsT0FBTyxHQUFHLE9BQU8sQ0FBQztRQUN2QixJQUFJLENBQUMsVUFBVSxHQUFHLFVBQVUsQ0FBQztRQUM3QixJQUFJLENBQUMsYUFBYSxHQUFHLGFBQWEsQ0FBQztRQUNuQyxJQUFJLENBQUMsYUFBYSxHQUFHLGFBQWEsQ0FBQztJQUNyQyxDQUFDO0lBRU8sdUNBQVMsR0FBakIsVUFBa0IsR0FBcUI7UUFDcEMsR0FBVyxDQUFDLElBQUksR0FBRyxlQUFTL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d0JBQVcsQ0FDN0MsSUFBSSxDQUFDLGFBQWEsRUFDbEIsSUFBSSxDQUFDLGFBQWEsRUFDbEI7NEJBQ0UsT0FBTyxTQUFBO3lCQUNSLENBQ0YsRUFBQTs7d0JBTm9CLElBQUksR0FBSyxDQUFBLFNBTTdCLENBQUEsWUFOd0I7d0JBT3pCLHNCQUFPLElBQUksRUFBQzs7OztLQUNiO0lBQ0gsMEJBQUM7QUFBRCxDQUFDLEFBaHFCRCxJQWdxQkM7QUFocUJZLGtEQUFtQiJ9
|
@@ -152,7 +152,12 @@ export declare class RolesManagementClient {
|
|
152
152
|
* @returns {Promise<DeepPartial<PaginatedUsers>>}
|
153
153
|
* @memberof RolesManagementClient
|
154
154
|
*/
|
155
|
-
listUsers(code: string,
|
155
|
+
listUsers(code: string, options?: {
|
156
|
+
namespace?: string;
|
157
|
+
withCustomData?: boolean;
|
158
|
+
page?: number;
|
159
|
+
limit?: number;
|
160
|
+
}): Promise<DeepPartial<PaginatedUsers>>;
|
156
161
|
/**
|
157
162
|
* @name addUsers
|
158
163
|
* @name_zh 添加用户
|
@@ -292,18 +292,53 @@ var RolesManagementClient = /** @class */ (function () {
|
|
292
292
|
* @returns {Promise<DeepPartial<PaginatedUsers>>}
|
293
293
|
* @memberof RolesManagementClient
|
294
294
|
*/
|
295
|
-
RolesManagementClient.prototype.listUsers = function (code,
|
295
|
+
RolesManagementClient.prototype.listUsers = function (code, options) {
|
296
296
|
return __awaiter(this, void 0, void 0, function () {
|
297
|
-
var data;
|
298
|
-
return __generator(this, function (
|
299
|
-
switch (
|
300
|
-
case 0:
|
301
|
-
|
302
|
-
|
303
|
-
|
297
|
+
var _a, namespace, _b, withCustomData, _c, page, _d, limit, data, data, _e, totalCount, list;
|
298
|
+
return __generator(this, function (_f) {
|
299
|
+
switch (_f.label) {
|
300
|
+
case 0:
|
301
|
+
_a = options || {}, namespace = _a.namespace, _b = _a.withCustomData, withCustomData = _b === void 0 ? false : _b, _c = _a.page, page = _c === void 0 ? 1 : _c, _d = _a.limit, limit = _d === void 0 ? 10 : _d;
|
302
|
+
if (!!withCustomData) return [3 /*break*/, 2];
|
303
|
+
return [4 /*yield*/, graphqlapi_1.roleWithUsers(this.graphqlClient, this.tokenProvider, {
|
304
|
+
code: code,
|
305
|
+
namespace: namespace,
|
306
|
+
page: page,
|
307
|
+
limit: limit
|
308
|
+
})];
|
304
309
|
case 1:
|
305
|
-
data = (
|
310
|
+
data = (_f.sent()).role;
|
311
|
+
if (!data) {
|
312
|
+
return [2 /*return*/, {
|
313
|
+
totalCount: 0,
|
314
|
+
list: []
|
315
|
+
}];
|
316
|
+
}
|
306
317
|
return [2 /*return*/, data.users];
|
318
|
+
case 2: return [4 /*yield*/, graphqlapi_1.roleWithUsersWithCustomData(this.graphqlClient, this.tokenProvider, {
|
319
|
+
code: code,
|
320
|
+
namespace: namespace,
|
321
|
+
page: page,
|
322
|
+
limit: limit
|
323
|
+
})];
|
324
|
+
case 3:
|
325
|
+
data = (_f.sent()).role;
|
326
|
+
if (!data) {
|
327
|
+
return [2 /*return*/, {
|
328
|
+
totalCount: 0,
|
329
|
+
list: []
|
330
|
+
}];
|
331
|
+
}
|
332
|
+
_e = data.users, totalCount = _e.totalCount, list = _e.list;
|
333
|
+
list = list.map(function (user) {
|
334
|
+
// @ts-ignore
|
335
|
+
user.customData = utils_1.convertUdvToKeyValuePair(user.customData);
|
336
|
+
return user;
|
337
|
+
});
|
338
|
+
return [2 /*return*/, {
|
339
|
+
totalCount: totalCount,
|
340
|
+
list: list
|
341
|
+
}];
|
307
342
|
}
|
308
343
|
});
|
309
344
|
});
|
@@ -673,4 +708,4 @@ var RolesManagementClient = /** @class */ (function () {
|
|
673
708
|
return RolesManagementClient;
|
674
709
|
}());
|
675
710
|
exports.RolesManagementClient = RolesManagementClient;
|
676
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUm9sZXNNYW5hZ2VtZW50Q2xpZW50LmpzIiwic291cm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7NEJBQ3JELHFCQUFNLHNCQUFTLENBQUMsSUFBSSxDQUFDLGFBQWEsRUFBRSxJQUFJLENBQUMsYUFBYSxFQUFFOzRCQUN0RCxVQUFVLEVBQUUsMEJBQWEsQ0FBQyxJQUFJOzRCQUM5QixRQUFRLEVBQUUsTUFBTTs0QkFDaEIsR0FBRyxLQUFBO3lCQUNKLENBQUMsRUFBQTs7d0JBSkYsU0FJRSxDQUFDOzs7OztLQUNKO0lBQ0gsNEJBQUM7QUFBRCxDQUFDLEFBN2tCRCxJQTZrQkM7QUE3a0JZLHNEQUFxQiJ9
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { GraphqlClient } from './../common/GraphqlClient';
|
2
2
|
import { ManagementTokenProvider } from './ManagementTokenProvider';
|
3
|
-
import { BatchFetchUserTypes, ManagementClientOptions, UserActions } from './types';
|
3
|
+
import { Application, BatchFetchUserTypes, ManagementClientOptions, UserActions } from './types';
|
4
4
|
import { User, PaginatedUsers, CreateUserInput, RefreshToken, CommonMessage, UpdateUserInput, PaginatedGroups, PaginatedRoles, PaginatedAuthorizedResources, ResourceType, QuerySearchUserArgs } from '../../types/graphql.v2';
|
5
5
|
import { HttpClient } from '../common/HttpClient';
|
6
6
|
import { DeepPartial, KeyValuePair } from '../../types/index';
|
@@ -106,6 +106,7 @@ export declare class UsersManagementClient {
|
|
106
106
|
*/
|
107
107
|
create(userInfo: CreateUserInput, options?: {
|
108
108
|
keepPassword?: boolean;
|
109
|
+
resetPasswordOnFirstLogin?: boolean;
|
109
110
|
}): Promise<User>;
|
110
111
|
/**
|
111
112
|
* @name update
|
@@ -188,7 +189,9 @@ export declare class UsersManagementClient {
|
|
188
189
|
* @returns {Promise<User>}
|
189
190
|
* @memberof UsersManagementClient
|
190
191
|
*/
|
191
|
-
detail(userId: string
|
192
|
+
detail(userId: string, options?: {
|
193
|
+
withCustomData?: boolean;
|
194
|
+
}): Promise<User>;
|
192
195
|
/**
|
193
196
|
* @name delete
|
194
197
|
* @name_zh 删除用户
|
@@ -236,6 +239,7 @@ export declare class UsersManagementClient {
|
|
236
239
|
*/
|
237
240
|
batch(ids: string[], options?: {
|
238
241
|
queryField: BatchFetchUserTypes;
|
242
|
+
withCustomData?: boolean;
|
239
243
|
}): Promise<User[]>;
|
240
244
|
/**
|
241
245
|
* @name list
|
@@ -252,7 +256,9 @@ export declare class UsersManagementClient {
|
|
252
256
|
* @returns
|
253
257
|
* @memberof UsersManagementClient
|
254
258
|
*/
|
255
|
-
list(page?: number, limit?: number
|
259
|
+
list(page?: number, limit?: number, options?: {
|
260
|
+
withCustomData?: boolean;
|
261
|
+
}): Promise<{
|
256
262
|
totalCount: number;
|
257
263
|
list: {
|
258
264
|
id: string;
|
@@ -421,6 +427,7 @@ export declare class UsersManagementClient {
|
|
421
427
|
email?: string;
|
422
428
|
phone?: string;
|
423
429
|
externalId?: string;
|
430
|
+
withCustomData?: boolean;
|
424
431
|
}): Promise<{
|
425
432
|
id: string;
|
426
433
|
arn: string;
|
@@ -502,6 +509,7 @@ export declare class UsersManagementClient {
|
|
502
509
|
departmentOpts?: QuerySearchUserArgs['departmentOpts'];
|
503
510
|
groupOpts?: QuerySearchUserArgs['groupOpts'];
|
504
511
|
roleOpts?: QuerySearchUserArgs['roleOpts'];
|
512
|
+
withCustomData?: boolean;
|
505
513
|
}): Promise<PaginatedUsers>;
|
506
514
|
/**
|
507
515
|
* @name refreshToken
|
@@ -734,6 +742,21 @@ export declare class UsersManagementClient {
|
|
734
742
|
code: number;
|
735
743
|
message: string;
|
736
744
|
}>;
|
745
|
+
logout(options: {
|
746
|
+
appId?: string;
|
747
|
+
userId: string;
|
748
|
+
}): Promise<{
|
749
|
+
code: number;
|
750
|
+
message: string;
|
751
|
+
}>;
|
752
|
+
/**
|
753
|
+
* @description 查询用户的登录状态
|
754
|
+
*/
|
755
|
+
checkLoginStatus(userId: string, appId?: string, deviceId?: string): Promise<{
|
756
|
+
isLogin: boolean;
|
757
|
+
user?: User;
|
758
|
+
application?: Array<Application>;
|
759
|
+
}>;
|
737
760
|
/**
|
738
761
|
* 审计日志列表
|
739
762
|
* @param options.page 当前页数
|
@@ -750,4 +773,12 @@ export declare class UsersManagementClient {
|
|
750
773
|
operationName?: string;
|
751
774
|
operatoArn?: string;
|
752
775
|
}): Promise<UserActions>;
|
776
|
+
/**
|
777
|
+
* @description 发送首次登录验证邮件
|
778
|
+
*
|
779
|
+
*/
|
780
|
+
sendFirstLoginVerifyEmail(options: {
|
781
|
+
appId: string;
|
782
|
+
userId: string;
|
783
|
+
}): Promise<boolean>;
|
753
784
|
}
|