3
0
Commit Graph

10 Commits

Author SHA1 Message Date
Denis Arh
0400451823 Add upload/attachment capabilities 2018-09-08 22:04:36 +02:00
Tit Petric
a23137c14e fix(auth): resolve error with double registering flags 2018-09-04 15:53:49 +02:00
Tit Petric
bdb0844a48 add(auth): separate webservice for auth 2018-09-04 15:37:43 +02:00
Tit Petric
08736dd0f8 add(auth): TokenEncoder interface parth of auth pkg 2018-08-29 17:22:01 +02:00
Tit Petric
279f503702 add(auth): optional jwt debug key on startup 2018-08-23 13:03:42 +00:00
Tit Petric
16cc7a11f3 upd(all): restructure cmd, flags, startups 2018-08-23 11:15:23 +02:00
Denis Arh
5a347dddb5 Types structs reduced & simplified 2018-07-29 16:37:41 +02:00
Denis Arh
1b06a0ffdb Implement JWT expiration 2018-07-28 12:16:33 +02:00
Denis Arh
c02fec809f Redo auth flags 2018-07-28 12:01:33 +02:00
Denis Arh
d886a98740 Implements JWT authorization along with some refactoring
- introduces auth package, for common (sam, crm) auth handlers
 - routes are now generated inside server package, each handler got its own MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
 - there MountRoute methods are now called from non-generated code so we can inject services to (rest) controllers
2018-07-26 20:12:14 +02:00