linkahead.connection.authentication.input module

input.

A CredentialsProvider which reads the password from the input line.

class linkahead.connection.authentication.input.InputCredentialsProvider

Bases: CredentialsProvider

InputCredentialsProvider.

A class for obtaining the password directly from the user.

configure()
password
username
configure(**config)

configure.

Parameters:

**config – Keyword arguments containing at least keywords “username” and “password”.

Return type:

None

property password

password.

property username

username.

linkahead.connection.authentication.input.get_authentication_provider()

get_authentication_provider.

Return an authenticator which uses the input for username/password credentials.

Returns:

with an InputCredentialsProvider as back-end.

Return type:

CredentialsAuthenticator