Skip to content

Commit

Permalink
Merge pull request #366 from auth0/fix/password-ticket-docs
Browse files Browse the repository at this point in the history
FIx createPasswordChangeTicket docs
  • Loading branch information
luisrudge authored May 23, 2019
2 parents 4201c0a + dce5c00 commit 3f8bbb8
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 3f8bbb8

Please sign in to comment.