welkin.authentication ===================== .. py:module:: welkin.authentication Attributes ---------- .. autoapisummary:: welkin.authentication.logger welkin.authentication.DB_PATH welkin.authentication.DB_LOCK Classes ------- .. autoapisummary:: welkin.authentication.WelkinAuth Module Contents --------------- .. py:data:: logger .. py:data:: DB_PATH :value: '' .. py:data:: DB_LOCK :value: '.lock' .. py:class:: WelkinAuth(tenant: str, api_client: str, secret_key: str, token_method: Callable[[], dict]) Bases: :py:obj:`requests.auth.AuthBase` Attaches API Key Authentication to the given Request object. https://developers.welkinhealth.com/#authentication .. py:attribute:: tenant .. py:attribute:: api_client .. py:attribute:: secret_key .. py:attribute:: token_method .. py:property:: token :type: str .. py:method:: refresh_token() -> None