Skip to content

Commit

Permalink
Update documentation on Link Users (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpatrick authored Dec 8, 2020
1 parent a21787a commit 06304e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/management/UsersManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 2 additions & 0 deletions src/management/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 06304e0

Please sign in to comment.