Commit Graph

16 Commits

Author SHA1 Message Date
weloe
e85faec9ee feat: improve test case 2023-10-12 17:56:29 +08:00
weloe
05d6f38f64 feat: improve code, add errors 2023-10-12 16:31:54 +08:00
weloe
9d1a8be2c1 feat: improve test 2023-10-02 20:58:26 +08:00
weloe
3290680d32 fix: update Readme.md 2023-09-08 21:14:40 +08:00
weloe
62208f09d8 feat: add checkId getId api and SecondAuth api 2023-08-15 00:44:10 +08:00
weloe
e270c268dc feat: refactor enforcer, add LoginById, LogoutById. add session set(),get() 2023-06-03 02:55:12 +08:00
weloe
8bf577c030 feat: add banned feature and api IsLoginByToken() 2023-05-24 22:10:07 +08:00
weloe
2d9f8124cc feat: add SerializerAdapter support custom serializer 2023-05-17 12:07:25 +08:00
weloe
900e86123a refactor: update tokenSignList to slice 2023-05-17 01:15:13 +08:00
weloe
ab16d567f8 reafacor: simplify constructor function 2023-05-13 13:06:37 +08:00
weloe
a51ba879a1 feat: add CheckLogin() method to check if is login 2023-05-10 15:20:52 +08:00
weloe
eb4edb54a2 feat: add viper to implement read yaml,ini config 2023-05-10 03:29:04 +08:00
weloe
f45277b4d5 feat: improve defaultAdapter to add clean timer 2023-05-09 15:33:55 +08:00
weloe
25f85c7114 refactor: improve NewEnforcer() 2023-05-06 23:24:53 +08:00
weloe
bbcdb0fedb refactor: delete enforcer.webctx 2023-05-06 23:07:28 +08:00
weloe
cabebd0563 feat: add login logout feature and test 2023-05-06 16:40:46 +08:00