userver: storages::redis::Credentials Struct Reference
Loading...
Searching...
No Matches
storages::redis::Credentials Struct Reference

#include <userver/storages/redis/base.hpp>

Detailed Description

Redis node authentication credentials (ACL-aware).

When username is empty, the legacy AUTH <password> command is used. When username is non-empty, the ACL AUTH <username> <password> command is used (requires Redis 6+).

Definition at line 27 of file base.hpp.

Public Attributes

std::string username
 
Password password
 

Member Data Documentation

◆ password

Password storages::redis::Credentials::password

Definition at line 29 of file base.hpp.

◆ username

std::string storages::redis::Credentials::username

Definition at line 28 of file base.hpp.


The documentation for this struct was generated from the following file: