linkahead.connection.authentication.api_key module#
Authenticator using an API Key.
- class linkahead.connection.authentication.api_key.ApiKeyAuthenticator#
Bases:
AbstractAuthenticatorSends a pre-configured API key as a Bearer token in the Authorization header of each request.
- 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.api_key.get_authentication_provider() AbstractAuthenticator#
get_authentication_provider.
Return an authenticator for api key credentials.
- Return type: