diff --git a/src/management/JobsManager.js b/src/management/JobsManager.js index bdded4099..40714ebb8 100644 --- a/src/management/JobsManager.js +++ b/src/management/JobsManager.js @@ -362,6 +362,10 @@ JobsManager.prototype.errors = function(params, cb) { * * @param {Object} data User data object. * @param {String} data.user_id ID of the user to be verified. + * @param {String} [data.client_id] client_id of the client (application). If no value provided, the global Client ID will be used. + * @param {Object} [data.identity] Used to verify secondary, federated, and passwordless-email identities. + * @param {String} data.identity.user_id user_id of the identity. + * @param {String} data.identity.provider provider of the identity. * @param {Function} [cb] Callback function. * * @return {Promise|undefined} diff --git a/src/management/TicketsManager.js b/src/management/TicketsManager.js index 78a1383be..a037d82b0 100644 --- a/src/management/TicketsManager.js +++ b/src/management/TicketsManager.js @@ -98,6 +98,14 @@ TicketsManager.prototype.changePassword = function(data, cb) { * } * }); * + * @param {Object} data + * @param {String} [data.result_url] URL the user will be redirected to once ticket is used. + * @param {String} data.user_id user_id for whom the ticket should be created. + * @param {Integer} [data.ttl_sec] Number of seconds for which the ticket is valid before expiration. + * @param {Boolean} [data.includeEmailInRedirect] Whether to include the email address as part of the result_url (true), or not (false). + * @param {Object} [data.identity] Used to verify secondary, federated, and passwordless-email identities. + * @param {String} data.identity.user_id user_id of the identity. + * @param {String} data.identity.provider provider of the identity. * @param {Function} [cb] Callback function. * @return {Promise} */