- Source:
Methods
(async, inner) forgotpassword(payload) → {Promise.<object>}
- handle forgot-password api call
Parameters:
Name | Type | Description |
---|---|---|
payload |
object |
|
- Source:
Returns:
response data
- Type
- Promise.<object>
(async, inner) login(payload) → {Promise.<object>}
- handle login api call and update current token
Parameters:
Name | Type | Description |
---|---|---|
payload |
object |
|
- Source:
Returns:
response data
- Type
- Promise.<object>
(async, inner) resetpassword(payload) → {object}
- handle reset-password api call
Parameters:
Name | Type | Description |
---|---|---|
payload |
object |
|
- Source:
Returns:
response data
- Type
- object
(async, inner) signUp(payload) → {Promise.<object>}
- handle signup api call and update current token
Parameters:
Name | Type | Description |
---|---|---|
payload |
object |
|
- Source:
Returns:
response data
- Type
- Promise.<object>