Commit Graph

65 Commits

Author SHA1 Message Date
weloe
4e68a5b4f7 Update Readme.md 2023-10-14 04:53:10 +08:00
weloe
2fadcf9924 refactor: extract sso method, adjust method positions 2023-10-14 03:18:17 +08:00
weloe
1395874370 refactor: extract methods, adjust position and name 2023-10-14 02:54:11 +08:00
weloe
283f14692d feat: add String method 2023-10-14 01:57:18 +08:00
weloe
f9af8937f2 Update Readme.md 2023-10-13 22:25:54 +08:00
weloe
c14f0e4e6e feat: update ResponseToken method name v0.1.2 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
7c4e11bd73 docs: improve Readme.md v0.1.0 2023-10-12 18:01:09 +08:00
weloe
5bdfc8bdd5 feat: add temp-token feature 2023-10-12 17:57:45 +08:00
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
2d802fd47b feat: improve test case 2023-10-12 15:35:14 +08:00
weloe
ac8674dc3e feat: add logger 2023-10-02 21:08:07 +08:00
weloe
9d1a8be2c1 feat: improve test 2023-10-02 20:58:26 +08:00
weloe
e8d9d8221d refactor: simplify reader 2023-09-08 21:31:52 +08:00
weloe
3290680d32 fix: update Readme.md 2023-09-08 21:14:40 +08:00
weloe
71088365cf feat: add GetId and add validation 2023-09-05 17:01:56 +08:00
weloe
df39e54be6 feat: update workflow and add Readme 2023-08-24 00:41:53 +08:00
weloe
62208f09d8 feat: add checkId getId api and SecondAuth api v0.0.9 2023-08-15 00:44:10 +08:00
weloe
a9aa15db0c fix: fix default_adapter.Get() 2023-08-14 23:33:17 +08:00
weloe
097d1b9445 refactor: persist add Serializer v0.0.8 2023-08-10 19:04:59 +08:00
weloe
5f31fdee04 feat: add JsonSerializer v0.0.7 2023-08-10 01:51:10 +08:00
weloe
981bb5a0c3 refactor: SerializerAdapter support any struct 2023-08-10 01:09:45 +08:00
weloe
a3d97bece9 feat: add sso-server, sso-client config examples 2023-07-24 12:47:00 +08:00
weloe
4aa6df57df refactor: update config.NewConfig to ReadConfig v0.0.6 2023-06-09 19:59:56 +08:00
weloe
446789e261 feat: support SSO 2023-06-09 19:41:30 +08:00
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