Skip to content

Conversation

@mauricioguim
Copy link

This pull request adds support for username and password authentication in RedisClient for Redis 6 and above. The connection logic now reads username and password from the URI or from the $args or $parts parameters and invokes AUTH with both when a username is provided, falling back to the legacy password-only mode otherwise. The README has been updated in the constructor section to show URI examples for both authentication modes and in the callAsync API reference to include code samples for AUTH with either one or two arguments. All existing behaviors remain unchanged to ensure full backward compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant