Credential Providers¶
Abstract credential provider |
|
|
Credential provider that just returns a |
|
Username/password tuple. |
- class AbstractCredentialProvider[source]¶
Abstract credential provider
- abstract async get_credentials() UserPass [source]¶
Returns an instance of
coredis.credentials.UserPass
for establishing a connection to the redis server.
- class UserPassCredentialProvider(username: str | None = None, password: str | None = None)[source]¶
Credential provider that just returns a
UserPassCredentialProvider.password
and/orUserPassCredentialProvider.username
.- async get_credentials() UserPass [source]¶
Returns an instance of
coredis.credentials.UserPass
for establishing a connection to the redis server.