Commit Graph

  • a1ef264b00 feat: update Serialize master v0.1.81 weloe 2024-06-18 19:08:17 +08:00
  • 8e4c80ef12 fix: util.InterfaceToBytes convert error weloe 2024-06-18 19:01:31 +08:00
  • 1caa15f46a fix: scanned token error https://github.com/weloe/token-go/issues/2 v0.1.8 weloe 2024-06-06 17:53:11 +08:00
  • 26afab20f1 fix: fix token error fix-Scanned weloe 2024-06-06 17:49:15 +08:00
  • 0bdcf72b0c refactor: simplify parameters weloe 2023-12-04 00:38:27 +08:00
  • 27404a24dd feat: add device manager api v0.1.7 weloe 2023-11-06 00:54:30 +08:00
  • c7d67424d0 refactor: adjust auto refresh logic weloe 2023-11-04 20:01:33 +08:00
  • 50afce1ace refactor: extract deleteRedundantTokenSign method weloe 2023-11-04 19:15:24 +08:00
  • c85d2c4047 feat: add synced enforcer weloe 2023-11-02 05:11:03 +08:00
  • 3c7a8ef8b6 feat: support double token weloe 2023-11-01 04:08:05 +08:00
  • 8a6c8eba30 feat: support auto refresh token timeout When the user accesses. weloe 2023-10-31 23:20:33 +08:00
  • ddcf703835 feat: update method name, add method AddTokenSign weloe 2023-10-31 23:01:47 +08:00
  • 3ac000db86 fix: fix concurrent and share token logic v0.1.65 weloe 2023-10-31 16:56:48 +08:00
  • 90e576f015 feat: add param device, update LoginByModel v0.1.64 weloe 2023-10-28 01:24:21 +08:00
  • 7b920a1a59 feat: update CreateTempToken,add CreateTempTokenByStyle weloe 2023-10-28 00:35:02 +08:00
  • 046128c502 fix: fix test case weloe 2023-10-22 05:28:19 +08:00
  • 272189517b feat: refactor kickout, replaced weloe 2023-10-22 05:28:00 +08:00
  • bb1845fd3c feat: add DeviceMaxLoginCount weloe 2023-10-22 05:02:08 +08:00
  • d89e273487 fix: refactor device filter logic weloe 2023-10-22 04:47:31 +08:00
  • d6bf3bfa5e feat: add CountWatcher weloe 2023-10-21 23:24:25 +08:00
  • 2f0bfb361d feat: add GetLoginCounts, GetLoginTokenCounts weloe 2023-10-21 23:04:58 +08:00
  • 5fc3db66a1 feat: update QRCode id to Id v0.1.63 weloe 2023-10-21 16:54:09 +08:00
  • 41a038d28e feat: fix bool v0.1.62 weloe 2023-10-21 15:58:33 +08:00
  • 8a98cc1c9f feat: add enforcer field Set Get v0.1.61 weloe 2023-10-21 15:46:21 +08:00
  • 0216daedf1 feat: add Dispatcher and UpdatableWatcher v0.1.6 weloe 2023-10-18 17:43:51 +08:00
  • c5cc46eeef feat: add QRCode example weloe 2023-10-17 17:40:47 +08:00
  • b85a297b4e feat: add QRCode state test case v0.1.5 weloe 2023-10-16 21:48:26 +08:00
  • 5266eaffdf feat: add DeleteQRCode,fix GetQRCodeTimeout weloe 2023-10-16 21:43:33 +08:00
  • 6d763a4d03 refactor: update Scanned() param weloe 2023-10-16 20:46:26 +08:00
  • ce95ac86a6 refactor: update QRCode state logic, improve test case v0.1.3 weloe 2023-10-15 23:38:17 +08:00
  • 31379384f2 Update Readme.md weloe 2023-10-15 22:51:57 +08:00
  • a1b40fe1f2 refactor: DefaultAdapter add timer enable weloe 2023-10-15 22:51:49 +08:00
  • 82f65143b3 feat: add QRCode state api, support QRCode login weloe 2023-10-15 22:18:39 +08:00
  • 8d64059a42 feat: update annotation weloe 2023-10-15 01:18:40 +08:00
  • a0324da6bb feat: fix sso internal api, add SsoClientLogin return value weloe 2023-10-15 01:16:48 +08:00
  • 4e68a5b4f7 Update Readme.md weloe 2023-10-14 04:53:10 +08:00
  • 2fadcf9924 refactor: extract sso method, adjust method positions weloe 2023-10-14 03:18:17 +08:00
  • 1395874370 refactor: extract methods, adjust position and name weloe 2023-10-14 02:54:11 +08:00
  • 283f14692d feat: add String method weloe 2023-10-14 01:57:18 +08:00
  • f9af8937f2 Update Readme.md weloe 2023-10-13 22:25:54 +08:00
  • c14f0e4e6e feat: update ResponseToken method name v0.1.2 weloe 2023-10-13 21:57:07 +08:00
  • 05d1bb2f34 feat: add Cache and a default implementation weloe 2023-10-13 21:06:11 +08:00
  • 7c4e11bd73 docs: improve Readme.md v0.1.0 weloe 2023-10-12 18:01:09 +08:00
  • 5bdfc8bdd5 feat: add temp-token feature weloe 2023-10-12 17:57:45 +08:00
  • e85faec9ee feat: improve test case weloe 2023-10-12 17:56:14 +08:00
  • 05d6f38f64 feat: improve code, add errors weloe 2023-10-12 16:31:44 +08:00
  • 2d802fd47b feat: improve test case weloe 2023-10-12 15:35:14 +08:00
  • ac8674dc3e feat: add logger weloe 2023-10-02 21:08:07 +08:00
  • 9d1a8be2c1 feat: improve test weloe 2023-10-02 20:58:26 +08:00
  • e8d9d8221d refactor: simplify reader weloe 2023-09-08 21:31:52 +08:00
  • 3290680d32 fix: update Readme.md weloe 2023-09-08 21:14:40 +08:00
  • 71088365cf feat: add GetId and add validation weloe 2023-09-05 17:00:36 +08:00
  • df39e54be6 feat: update workflow and add Readme weloe 2023-08-24 00:37:00 +08:00
  • 62208f09d8 feat: add checkId getId api and SecondAuth api v0.0.9 weloe 2023-08-15 00:44:10 +08:00
  • a9aa15db0c fix: fix default_adapter.Get() weloe 2023-08-10 21:15:32 +08:00
  • 097d1b9445 refactor: persist add Serializer v0.0.8 weloe 2023-08-10 18:33:48 +08:00
  • 5f31fdee04 feat: add JsonSerializer v0.0.7 weloe 2023-08-10 01:51:10 +08:00
  • 981bb5a0c3 refactor: SerializerAdapter support any struct weloe 2023-08-10 01:09:45 +08:00
  • a3d97bece9 feat: add sso-server, sso-client config examples weloe 2023-07-24 12:43:27 +08:00
  • 4aa6df57df refactor: update config.NewConfig to ReadConfig v0.0.6 weloe 2023-06-09 19:59:56 +08:00
  • 446789e261 feat: support SSO weloe 2023-06-09 03:30:51 +08:00
  • ecef85c8af refactor: update default cookie path weloe 2023-06-09 03:01:48 +08:00
  • 2bf8ddfe57 refactor: update interface, default device name weloe 2023-06-08 05:06:07 +08:00
  • bd92b16115 refactor: update Session DataMap, add SyncSession weloe 2023-06-06 15:46:49 +08:00
  • a9d04d1e72 fix: fix set cookie error, lint error and update default token name to ''Tokengo' v0.0.5.2 weloe 2023-06-06 05:32:25 +08:00
  • 68581803da fix: fix set cookie error and update default token name to ''Tokengo' v0.0.5.1 weloe 2023-06-06 05:32:25 +08:00
  • f5939dce57 feat: add UrlNoQuery(), used to return url without query param weloe 2023-06-06 03:35:21 +08:00
  • e270c268dc feat: refactor enforcer, add LoginById, LogoutById. add session set(),get() weloe 2023-06-03 02:55:12 +08:00
  • 8bf577c030 feat: add banned feature and api IsLoginByToken() v0.0.5 weloe 2023-05-24 22:10:07 +08:00
  • 82680c3ce4 feat: add EmptyAdapter empty adapter for extension to init enforcer v0.0.4.4 weloe 2023-05-21 13:20:41 +08:00
  • dc9f137435 refactor: add LogoutByToken() and SetJwtSecretKey() v0.0.4.3 weloe 2023-05-19 22:40:22 +08:00
  • 776f17da6f refactor: add LogoutByToken() and SetJwtSecretKey() v0.0.4.2 weloe 2023-05-19 22:40:22 +08:00
  • c50b10f5f6 refactor: add GetIdByToken(),GetTokenConfig(),GetWatcher(),GetLogger() v0.0.4.1 weloe 2023-05-18 02:41:30 +08:00
  • 2d9f8124cc feat: add SerializerAdapter support custom serializer v0.0.4 weloe 2023-05-17 01:16:14 +08:00
  • 900e86123a refactor: update tokenSignList to slice weloe 2023-05-16 21:57:21 +08:00
  • 29d76d7bfb feat: reset session weloe 2023-05-16 14:45:44 +08:00
  • 7905f81270 Update Readme.md v0.0.1 weloe 2023-05-13 15:15:55 +08:00
  • ab16d567f8 reafacor: simplify constructor function weloe 2023-05-13 13:05:53 +08:00
  • f58ba4d93f refactor: simplify LoginByModel() weloe 2023-05-13 11:11:17 +08:00
  • b950d8023e feat: add GetLoginCount() to support get login count weloe 2023-05-13 11:07:55 +08:00
  • 164c80ba7a feat: support add token generate function weloe 2023-05-12 22:16:20 +08:00
  • a89c28076a feat: add simple auth api weloe 2023-05-10 16:00:09 +08:00
  • a51ba879a1 feat: add CheckLogin() method to check if is login weloe 2023-05-10 15:20:52 +08:00
  • eb4edb54a2 feat: add viper to implement read yaml,ini config weloe 2023-05-10 03:23:13 +08:00
  • c0542eb26e feat: add check weloe 2023-05-09 18:38:04 +08:00
  • f45277b4d5 feat: improve defaultAdapter to add clean timer weloe 2023-05-09 15:28:27 +08:00
  • 4a14a250dc refactor: add constant weloe 2023-05-07 02:28:24 +08:00
  • e831ad6bf6 feat: add usage example weloe 2023-05-06 23:37:13 +08:00
  • 25f85c7114 refactor: improve NewEnforcer() weloe 2023-05-06 23:24:53 +08:00
  • bbcdb0fedb refactor: delete enforcer.webctx weloe 2023-05-06 23:07:28 +08:00
  • 8f9a56d602 refactor: update cookieConfig name add batch_adapter interface weloe 2023-05-06 17:24:19 +08:00
  • cabebd0563 feat: add login logout feature and test weloe 2023-05-06 02:54:48 +08:00
  • 17700abd8a feat: update constant variable and improve notes weloe 2023-05-05 22:47:09 +08:00
  • dc3c0382ba feat: add generate token function weloe 2023-05-05 22:46:20 +08:00
  • 7355e1c107 feat: add watcher and logger weloe 2023-05-05 04:16:21 +08:00
  • a5652cd390 feat: add adapter weloe 2023-05-04 22:15:55 +08:00
  • 915624b205 refactor: update method name weloe 2023-05-04 02:13:33 +08:00
  • b265775373 feat: delete default_response and improvie test cases weloe 2023-05-03 03:09:44 +08:00
  • 4479cccf73 fix: solve lint error,implement error weloe 2023-05-02 19:45:46 +08:00
  • c04ab085b4 feat: add web context and add go net/http web context weloe 2023-05-02 15:06:54 +08:00