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