weloe
|
bb1845fd3c
|
feat: add DeviceMaxLoginCount
|
2023-10-22 05:27:50 +08:00 |
|
weloe
|
2f0bfb361d
|
feat: add GetLoginCounts, GetLoginTokenCounts
|
2023-10-21 23:04:58 +08:00 |
|
weloe
|
41a038d28e
|
feat: fix bool
|
2023-10-21 15:58:33 +08:00 |
|
weloe
|
8a98cc1c9f
|
feat: add enforcer field Set Get
|
2023-10-21 15:46:21 +08:00 |
|
weloe
|
0216daedf1
|
feat: add Dispatcher and UpdatableWatcher
|
2023-10-21 01:33:49 +08:00 |
|
weloe
|
a1b40fe1f2
|
refactor: DefaultAdapter add timer enable
|
2023-10-15 22:51:49 +08:00 |
|
weloe
|
1395874370
|
refactor: extract methods, adjust position and name
|
2023-10-14 02:54:11 +08:00 |
|
weloe
|
c14f0e4e6e
|
feat: update ResponseToken method name
|
2023-10-13 21:57:07 +08:00 |
|
weloe
|
05d1bb2f34
|
feat: add Cache and a default implementation
|
2023-10-13 21:24:44 +08:00 |
|
weloe
|
05d6f38f64
|
feat: improve code, add errors
|
2023-10-12 16:31:54 +08:00 |
|
weloe
|
ac8674dc3e
|
feat: add logger
|
2023-10-02 21:08:07 +08:00 |
|
weloe
|
71088365cf
|
feat: add GetId and add validation
|
2023-09-05 17:01:56 +08:00 |
|
weloe
|
62208f09d8
|
feat: add checkId getId api and SecondAuth api
|
2023-08-15 00:44:10 +08:00 |
|
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 |
|