def set_authorization_header(self):
        """Set the authorization header based on the authentication type."""
        if consts.AUTHENTICATION_TYPE == "API Key":
            applogger.debug("{} API Key based authentication is selected.".format(self.logs_starts_with))
            self.session.headers["Authorization"] = "Token: {}".format(consts.API_KEY)
        else:
            self.auth = HTTPBasicAuth(username=consts.USERNAME, password=consts.PASSWORD)
            applogger.debug("{} Username and password based authentication is selected.".format(self.logs_starts_with))
Set the authorization header based on the authentication type.
Solutions/Team Cymru Scout/Data Connectors/TeamCymruScout/SharedCode/teamcymruscout_client.py