Commit Graph

19 Commits

Author SHA1 Message Date
Miroslav Šedivý
bf6181764b clear cookie if non-existent session. 2021-03-25 10:29:28 +01:00
Miroslav Šedivý
5a79212b32 add healthcheck. 2021-03-19 15:04:01 +01:00
Miroslav Šedivý
4d2fb157f9 API implement members. 2021-03-14 14:44:32 +01:00
Miroslav Šedivý
58b00525cc refactor authenticate to use Token. 2021-03-13 20:42:56 +01:00
Miroslav Šedivý
45679f1b86 format Go source code. 2021-02-14 14:40:17 +01:00
Miroslav Šedivý
6d59b3feff session handler with cookies. 2021-01-29 22:22:14 +01:00
Miroslav Šedivý
af463b1015 AddRouter in API. 2020-12-12 17:07:45 +01:00
Miroslav Šedivý
c4978ba376 http response name convention. 2020-11-28 15:00:21 +01:00
Miroslav Šedivý
ce49d975c0 member in plural form. 2020-11-21 23:42:34 +01:00
Miroslav Šedivý
0dab2a99d3 introduce REST API authorization. 2020-11-16 19:37:52 +01:00
Miroslav Šedivý
4a5654f2ef fix lint err. 2020-11-14 18:27:10 +01:00
Miroslav Šedivý
7524f20cb7 http session context helper function. 2020-11-14 18:22:15 +01:00
Miroslav Šedivý
40b986c8be use Chi Router instead of Chi Mux. 2020-11-14 18:16:25 +01:00
Miroslav Šedivý
a18482b54e use websocket authentication & refactor. 2020-11-14 17:51:18 +01:00
Miroslav Šedivý
507fce7862 port new API back to refactor. 2020-11-01 16:54:06 +01:00
Miroslav Šedivý
963d210507 use custom JWT middleware. 2020-10-31 12:27:55 +01:00
Miroslav Šedivý
71d39a5c74 add API JWT auth. 2020-10-31 10:48:24 +01:00
Miroslav Šedivý
dc32e64190 api manager. 2020-10-30 18:16:21 +01:00
Miroslav Šedivý
5acd428dee create api skeleton. 2020-10-29 22:23:30 +01:00