Module

API

Methods

# async inner forgotpassword(payload) → {Promise.<object>}

  • handle forgot-password api call
Parameters:
Name Type Description
payload object

request data

View Source Frontend/src/utils/api/auth.js, line 32

response data

Promise.<object>

# async inner login(payload) → {Promise.<object>}

  • handle login api call and update current token
Parameters:
Name Type Description
payload object

request data

View Source Frontend/src/utils/api/auth.js, line 23

response data

Promise.<object>

# async inner resetpassword(payload) → {object}

  • handle reset-password api call
Parameters:
Name Type Description
payload object

request data

View Source Frontend/src/utils/api/auth.js, line 41

response data

object

# async inner signUp(payload) → {Promise.<object>}

  • handle signup api call and update current token
Parameters:
Name Type Description
payload object

request data

View Source Frontend/src/utils/api/auth.js, line 13

response data

Promise.<object>