Commit Graph

39 Commits

Author SHA1 Message Date
weloe
ecef85c8af refactor: update default cookie path 2023-06-09 03:01:48 +08:00
weloe
2bf8ddfe57 refactor: update interface, default device name 2023-06-08 05:06:07 +08:00
weloe
bd92b16115 refactor: update Session DataMap, add SyncSession 2023-06-08 04:28:09 +08:00
weloe
a9d04d1e72 fix: fix set cookie error, lint error and update default token name to ''Tokengo' v0.0.5.2 2023-06-06 06:03:16 +08:00
weloe
f5939dce57 feat: add UrlNoQuery(), used to return url without query param 2023-06-06 04:56:37 +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() v0.0.5 2023-05-24 22:10:07 +08:00
weloe
82680c3ce4 feat: add EmptyAdapter empty adapter for extension to init enforcer v0.0.4.4 2023-05-21 13:20:41 +08:00
weloe
dc9f137435 refactor: add LogoutByToken() and SetJwtSecretKey() v0.0.4.3 2023-05-21 13:04:09 +08:00
weloe
c50b10f5f6 refactor: add GetIdByToken(),GetTokenConfig(),GetWatcher(),GetLogger() v0.0.4.1 2023-05-18 03:17:22 +08:00
weloe
2d9f8124cc feat: add SerializerAdapter support custom serializer v0.0.4 2023-05-17 12:07:25 +08:00
weloe
900e86123a refactor: update tokenSignList to slice 2023-05-17 01:15:13 +08:00
weloe
29d76d7bfb feat: reset session 2023-05-16 14:45:44 +08:00
weloe
7905f81270 Update Readme.md v0.0.1 2023-05-13 15:25:54 +08:00
weloe
ab16d567f8 reafacor: simplify constructor function 2023-05-13 13:06:37 +08:00
weloe
f58ba4d93f refactor: simplify LoginByModel() 2023-05-13 11:11:17 +08:00
weloe
b950d8023e feat: add GetLoginCount() to support get login count 2023-05-13 11:07:55 +08:00
weloe
164c80ba7a feat: support add token generate function 2023-05-12 22:16:20 +08:00
weloe
a89c28076a feat: add simple auth api 2023-05-11 02:05:06 +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
c0542eb26e feat: add check 2023-05-09 18:38:04 +08:00
weloe
f45277b4d5 feat: improve defaultAdapter to add clean timer 2023-05-09 15:33:55 +08:00
weloe
4a14a250dc refactor: add constant 2023-05-07 02:28:24 +08:00
weloe
e831ad6bf6 feat: add usage example 2023-05-07 00:39:34 +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
8f9a56d602 refactor: update cookieConfig name add batch_adapter interface 2023-05-06 17:30:35 +08:00
weloe
cabebd0563 feat: add login logout feature and test 2023-05-06 16:40:46 +08:00
weloe
17700abd8a feat: update constant variable and improve notes 2023-05-05 22:47:09 +08:00
weloe
dc3c0382ba feat: add generate token function 2023-05-05 22:46:20 +08:00
weloe
7355e1c107 feat: add watcher and logger 2023-05-05 22:45:47 +08:00
weloe
a5652cd390 feat: add adapter 2023-05-05 04:03:09 +08:00
weloe
915624b205 refactor: update method name 2023-05-04 03:11:34 +08:00
weloe
b265775373 feat: delete default_response and improvie test cases 2023-05-03 03:17:53 +08:00
weloe
4479cccf73 fix: solve lint error,implement error 2023-05-02 20:44:27 +08:00
weloe
c04ab085b4 feat: add web context and add go net/http web context 2023-05-02 19:38:42 +08:00
weloe
35c206716d feat: add config 2023-05-02 15:04:50 +08:00
weloe
9be7ea8ceb Init gitignore,workflows 2023-04-30 20:46:25 +08:00