linkahead.connection.authentication.auth_token module

auth_token.

An Authentictor which only uses only a pre-supplied authentication token.

class linkahead.connection.authentication.auth_token.AuthTokenAuthenticator

Bases: AbstractAuthenticator

AuthTokenAuthenticator.

Subclass of AbstractAuthenticator which provides authentication only via a given authentication token.

login()
logout()
configure()
configure(**config)

configure.

Configure this authenticator.

Parameters:

**config – Keyword arguments for the configuration.

Return type:

None

login()

login.

To be implemented by the child classes.

Return type:

None

logout()

logout.

To be implemented by the child classes.

Return type:

None

linkahead.connection.authentication.auth_token.get_authentication_provider()

get_authentication_provider.

Return an authenticator which only uses a pre-supplied authentication token.

Return type:

AuthTokenAuthenticator