You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Token-based Authentication Providers for Redis Java clients
2
+
3
+
This extension provides Token-based Authentication for Redis Java client libraries([lettuce](https://github.com/redis/lettuce) and [Jedis](https://github.com/redis/jedis)) to support token-based authentication.
4
+
5
+
## Microsoft Entra ID provider
6
+
7
+
### Installation
8
+
To install the Java packages, add the following dependencies to your `pom.xml` file if you're using Maven:
9
+
```xml
10
+
<dependency>
11
+
<groupId>redis.clients.authentication</groupId>
12
+
<artifactId>redis-authx-entraid</artifactId>
13
+
<version>0.1.1-beta1</version>
14
+
</dependency>
15
+
```
16
+
If you're using Gradle, add the following dependencies to your `build.gradle` file:
With the `tokenAuthConfig` provided, both Jedis and Lettuce clients can automatically handle Reauthentication with EntraID.
30
+
31
+
Refer to the [test files](https://github.com/redis/tbd-auth-entraid/tree/main/entraid/src/test/java/redis/clients/authentication) for more examples and detailed usage.
0 commit comments