public final class AuthXManager extends java.lang.Object implements java.util.function.Supplier<RedisCredentials>
| Modifier | Constructor and Description |
|---|---|
|
AuthXManager(redis.clients.authentication.core.TokenAuthConfig tokenAuthConfig) |
protected |
AuthXManager(redis.clients.authentication.core.TokenManager tokenManager) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
addConnection(Connection connection) |
void |
addPostAuthenticationHook(java.util.function.Consumer<redis.clients.authentication.core.Token> postAuthenticateHook) |
void |
authenticateConnections(redis.clients.authentication.core.Token token) |
RedisCredentials |
get() |
AuthXEventListener |
getListener() |
void |
removePostAuthenticationHook(java.util.function.Consumer<redis.clients.authentication.core.Token> postAuthenticateHook) |
void |
setListener(AuthXEventListener listener) |
void |
start() |
void |
stop() |
protected AuthXManager(redis.clients.authentication.core.TokenManager tokenManager)
public AuthXManager(redis.clients.authentication.core.TokenAuthConfig tokenAuthConfig)
public void start()
public void authenticateConnections(redis.clients.authentication.core.Token token)
public Connection addConnection(Connection connection)
public void stop()
public void setListener(AuthXEventListener listener)
public void addPostAuthenticationHook(java.util.function.Consumer<redis.clients.authentication.core.Token> postAuthenticateHook)
public void removePostAuthenticationHook(java.util.function.Consumer<redis.clients.authentication.core.Token> postAuthenticateHook)
public AuthXEventListener getListener()
public RedisCredentials get()
get in interface java.util.function.Supplier<RedisCredentials>Copyright © 2025. All rights reserved.