linkahead.connection.authentication.pass module

pass.

A CredentialsProvider which calls the external program ‘pass’ for the password.

class linkahead.connection.authentication.pass.PassCaller(callback)

Bases: ExternalCredentialsProvider

PassCaller.

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

configure()
password
username
linkahead.connection.authentication.pass.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 program ‘pass’.

Returns:

with a ‘PassCaller’ as back-end.

Return type:

CredentialsAuthenticator