Skip to content

Commit

Permalink
FIx createPasswordChangeTicket docs
Browse files Browse the repository at this point in the history
  • Loading branch information
luisrudge committed May 23, 2019
1 parent 4201c0a commit dce5c00
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/management/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2016,11 +2016,18 @@ utils.wrapPropertyMethod(ManagementClient, 'sendEmailVerification', 'jobs.verify
* @memberOf module:management.ManagementClient.prototype
*
* @example
*
* var params = {
* result_url: '{REDIRECT_URL}', // Redirect after using the ticket.
* user_id: '{USER_ID}'
* };
*
* // or
*
* var params = {
* result_url: '{REDIRECT_URL}', // Redirect after using the ticket.
* user_id: '{USER_ID}', // Optional.
* email: '{USER_EMAIL}', // Optional.
* new_password: '{PASSWORD}'
* email: '{USER_EMAIL}',
* connection_id: '{CONNECTION}' // eg. con_00000000001
* };
*
* auth0.createPasswordChangeTicket(params, function (err) {
Expand Down

0 comments on commit dce5c00

Please sign in to comment.