weloe
|
097d1b9445
|
refactor: persist add Serializer
|
2023-08-10 19:04:59 +08:00 |
|
weloe
|
981bb5a0c3
|
refactor: SerializerAdapter support any struct
|
2023-08-10 01:09:45 +08:00 |
|
weloe
|
4aa6df57df
|
refactor: update config.NewConfig to ReadConfig
|
2023-06-09 19:59:56 +08:00 |
|
weloe
|
2bf8ddfe57
|
refactor: update interface, default device name
|
2023-06-08 05:06:07 +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
|
dc9f137435
|
refactor: add LogoutByToken() and SetJwtSecretKey()
|
2023-05-21 13:04:09 +08:00 |
|
weloe
|
c50b10f5f6
|
refactor: add GetIdByToken(),GetTokenConfig(),GetWatcher(),GetLogger()
|
2023-05-18 03:17:22 +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
|
29d76d7bfb
|
feat: reset session
|
2023-05-16 14:45:44 +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
|
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
|
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 |
|