aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/auth.ts (follow)
Commit message (Collapse)AuthorAgeLines
* Removes Path From AuthGravatar Hassan Abouelela2021-02-17-12/+11
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Adds Error Handling To Auth HelpersGravatar Hassan Abouelela2021-02-16-18/+57
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Makes Authorize Helper AsyncGravatar Hassan Abouelela2021-02-13-3/+5
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Adds Basic Auth FunctionalityGravatar Hassan Abouelela2021-02-13-0/+208
Moves all authorization functionality to a new file, and adds a helper to send discord OAuth code to the backend, and set JWT. Adds a library to read and set cookies. Signed-off-by: Hassan Abouelela <[email protected]>