atoti.query package

Module contents

atoti.query.create_basic_authentication(username, password)

Create a basic authentication.

Return type

Callable[[str], Optional[Mapping[str, str]]]

atoti.query.create_token_authentication(token)

Create an authentication based on a Bearer token.

Parameters

token (str) – The token to use to authenticate, such as a JWT.

Return type

Callable[[str], Optional[Mapping[str, str]]]