Class: module:api/ForgottenpasswordtokensApi

module:api/ForgottenpasswordtokensApi(apiClient)

new module:api/ForgottenpasswordtokensApi(apiClient)

Constructs a new ForgottenpasswordtokensApi.

Parameters:
Name Type Description
apiClient module:ApiClient

Optional API client implementation to use, default to module:ApiClient#instance if unspecified.

Source:

Methods

forgottenpasswordtokensWithHttpInfo(opts) → {Promise}

postForgottenPasswordToken Generates a token to restore customer's forgotten password. Security: Allowed only for client or trusted client

Parameters:
Name Type Description
opts Object

Optional parameters

Properties
Name Type Description
userId String

Customer's user id. Customer user id is case insensitive.

Source:
Returns:

a Promise">www.promisejs.org/|Promise}, with an object containing HTTP response

Type
Promise

postForgottenPasswordToken(opts) → {Promise}

postForgottenPasswordToken Generates a token to restore customer's forgotten password. Security: Allowed only for client or trusted client

Parameters:
Name Type Description
opts Object

Optional parameters

Properties
Name Type Description
userId String

Customer's user id. Customer user id is case insensitive.

Source:
Returns:

a Promise">www.promisejs.org/|Promise}

Type
Promise