welkin.authentication

Attributes

logger

DB_PATH

DB_LOCK

Classes

WelkinAuth

Attaches API Key Authentication to the given Request object.

Module Contents

welkin.authentication.logger
welkin.authentication.DB_PATH = ''
welkin.authentication.DB_LOCK = '.lock'
class welkin.authentication.WelkinAuth(tenant: str, api_client: str, secret_key: str, token_method: Callable[[], dict])

Bases: requests.auth.AuthBase

Attaches API Key Authentication to the given Request object.

https://developers.welkinhealth.com/#authentication

tenant
api_client
secret_key
token_method
property token: str
refresh_token() None