xHergz / TheMakeupApp

Capstone project for SET
0 stars 0 forks source link

Create Authentication Backend #48

Closed xHergz closed 5 years ago

xHergz commented 5 years ago

Description:

Create the backend procs and endpoint for user authentication and info gathering.

Tasks:

xHergz commented 5 years ago

The PHP backend will check if the requester session key is valid like any other end point.

Stored proc needs to take in a session key as the requester, and a session key as the queried key. The proc needs to check if the queried key exists, if the requester is authorized to get info about the queried key (right now if the match), check if the session is active, check if the session is expired, and check if the user is active.

The proc will return the user display name, first name, last name, and if they are an artist.