-
Notifications
You must be signed in to change notification settings - Fork 807
Closed
Description
Refactor
Component(s) to be refactored
monkey_island.cc.resources.auth.auth.Authenticate
monkey_island.cc.resources.auth.registation.Registration
monkey_island.cc.services.AuthenticationService
Tasks
- Rename endpoints (0d) - @shreyamalviya
- Rename
/api/auth
to/api/authenticate
- Rename
resources/auth/auth.py
toresources/auth/authenticate.py
- Rename
/api/registration
to/api/register
- Rename
resources/auth/registration.py
toresources/auth/register.py
- Rename
- Remove unneccesary "error" in
/api/authenticate
response (0d) - @shreyamalviya - Add
/api/user-registration-status
to check whether or not registration is needed (0d) - @shreyamalviya- Remove
GET /api/registration
- Remove
- Add docstrings (0d) - @shreyamalviya
-
AuthenticationService
-
/api/authenticate
-
/api/register
-