From 06304e0ab3528eef855d896088b0799587d707ca Mon Sep 17 00:00:00 2001 From: David Patrick Date: Mon, 7 Dec 2020 19:50:23 -0800 Subject: [PATCH] Update documentation on Link Users (#558) --- src/management/UsersManager.js | 2 ++ src/management/index.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/management/UsersManager.js b/src/management/UsersManager.js index 674a37670..a6647c32c 100644 --- a/src/management/UsersManager.js +++ b/src/management/UsersManager.js @@ -505,6 +505,8 @@ UsersManager.prototype.deleteMultifactorProvider = function(params, cb) { * @param {Object} params Secondary user data. * @param {String} params.user_id ID of the user to be linked. * @param {String} params.connection_id ID of the connection to be used. + * @param {String} params.provider Identity provider of the secondary user account being linked. + * @param {String} params.link_with JWT for the secondary account being linked. If sending this parameter, provider, user_id, and connection_id must not be sent. * @param {Function} [cb] Callback function. * * @return {Promise|undefined} diff --git a/src/management/index.js b/src/management/index.js index d16bc4c83..eec7c0d09 100644 --- a/src/management/index.js +++ b/src/management/index.js @@ -1316,6 +1316,8 @@ utils.wrapPropertyMethod(ManagementClient, 'unlinkUsers', 'users.unlink'); * @param {Object} params Secondary user data. * @param {String} params.user_id ID of the user to be linked. * @param {String} params.connection_id ID of the connection to be used. + * @param {String} params.provider Identity provider of the secondary user account being linked. + * @param {String} params.link_with JWT for the secondary account being linked. If sending this parameter, provider, user_id, and connection_id must not be sent. * @param {Function} [cb] Callback function. * * @return {Promise|undefined}