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
|
- 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
|
- Source:
Returns:
a Promise">www.promisejs.org/|Promise}
- Type
- Promise