def _create_auth_headers()

in functions/source/LicenseVerificationAndTokenGenerator/lambda_function.py [0:0]


def _create_auth_headers(username, password, account):
    headers = {'Content-Type': 'application/json',
               'Accept': 'application/json'}
    headers.update(urllib3.util.make_headers(
        basic_auth=f"{username}:{password}"))
    return headers