caosdb.connection.authentication.keyring module

keyring.

A CredentialsProvider which uses the external ‘keyring’ library to retrieve the password.

class caosdb.connection.authentication.keyring.KeyringCaller(callback)

Bases: caosdb.connection.authentication.external_credentials_provider.ExternalCredentialsProvider

KeyringCaller.

A class for retrieving the password from the external ‘gnome keyring’ and storing the username/password credentials as plain text strings.

configure()
password
username
caosdb.connection.authentication.keyring.get_authentication_provider()

get_authentication_provider.

Return an authenticator which uses plain text username/password credentials. The difference to the plain module is that this implementation retrieves the password from the external gnome keyring.

Returns

with a ‘KeyringCaller’ as back-end.

Return type

CredentialsAuthenticator