apc-unb / apc-api

MIT License
4 stars 0 forks source link

New Feature : JWT working #48

Closed VerasThiago closed 4 years ago

VerasThiago commented 4 years ago

Based on #46

Now the API need to pass JWT genereted at the login request.

All the requests need to be authenticated (except the Admin and Student login).

Some requests only return StatusCode 200 if the JWT was created by an admin with Professor : true

POST "/admin" DELETE "/admin" DELETE "/student" POST "/class" PUT "/class" DELETE "/class" POST "/project/type" PUT "/project/type" DELETE "/project/type"