universalturtles / Lisibilite

Repo for maintaining the code base for hybrid readability index application called Lisibilite
MIT License
4 stars 3 forks source link

[STORY]: Authorize Rest calls using API #31

Open ats0stv opened 4 years ago

ats0stv commented 4 years ago

A single line user story Ability to authorize rest calls using API

Details about the user story Ability to authorize using the below header Authorization: api-key base64(api-id:api-key)

Definition of Done If token is valid used should be able to user the API If token in invalid, user should not be able to use the API If token is revoked, user should not be able to use the API Log the user usage into a DB with timestamp (For future rate limiting)

Additional Comments/Suggestions/Considerations if any