linkahead.connection.authentication.keyring module

keyring.

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

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

Bases: 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
linkahead.connection.authentication.keyring.get_authentication_provider() CredentialsAuthenticator

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