1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-18 00:20:57 +03:00
Commit Graph

21 Commits

Author SHA1 Message Date
86d418f940 feat: Introducing StreamingCredentialsProvider for token based authentication (#3320)
* wip

* update documentation

* add streamingcredentialsprovider in options

* fix: put back option in pool creation

* add package level comment

* Initial re authentication implementation

Introduces the StreamingCredentialsProvider as the CredentialsProvider
with the highest priority.

TODO: needs to be tested

* Change function type name

Change CancelProviderFunc to UnsubscribeFunc

* add tests

* fix race in tests

* fix example tests

* wip, hooks refactor

* fix build

* update README.md

* update wordlist

* update README.md

* refactor(auth): early returns in cred listener

* fix(doctest): simulate some delay

* feat(conn): add close hook on conn

* fix(tests): simulate start/stop in mock credentials provider

* fix(auth): don't double close the conn

* docs(README): mark streaming credentials provider as experimental

* fix(auth): streamline auth err proccess

* fix(auth): check err on close conn

* chore(entraid): use the repo under redis org
2025-05-27 16:25:20 +03:00
97b491aace chore: update import path 2023-01-23 08:48:54 +02:00
6a8cf3e9d8 chore: fix examples 2022-10-13 09:12:05 +03:00
3e4ae80c12 chore: improve instrumentation example 2022-10-12 17:18:55 +03:00
0dff3d1461 feat: add OpenTelemetry metrics instrumentation 2022-10-12 11:09:41 +03:00
a18fad5bd3 chore: v9 2022-06-04 17:42:06 +03:00
3fc96195a4 Reduce dependency chain 2020-09-17 14:32:08 +01:00
3dcb844106 Bump major version 2020-05-19 08:52:38 +03:00
f5593121e0 Add ctx as first arg 2020-05-19 08:52:38 +03:00
c0fcf85f12 Add missing Tx instrumentation 2019-12-29 12:14:02 +02:00
7779accbea Use semantic import versioning 2019-08-08 14:29:44 +03:00
9fd4e69ce4 Don't return a context from After* hooks 2019-07-11 11:58:46 +03:00
8476dfea4a Replace Wrap* with hooks that support context 2019-05-31 16:36:57 +03:00
fea1be3727 Replace client with redisdb in examples 2018-08-12 11:45:35 +03:00
852a60d520 Fix go vet 2018-03-07 12:09:45 +02:00
8b4fa6d443 Add WrapProcessPipeline 2018-01-30 16:47:29 +02:00
80673992e6 gofmt 2017-04-02 17:10:47 +03:00
8040d63c4f Remove gopkg.in 2017-02-19 09:49:21 +02:00
9556378547 Fix Client process instrumentation. 2016-12-30 12:58:04 +02:00
362efb0c49 Test on WrapProcess 2016-12-30 11:50:11 +07:00
82f21639bf Fix WrapProcess for Ring and Cluster. Add better example. 2016-11-30 13:00:53 +02:00