def update_params_for_auth(self, headers, querys, auth_settings):
        """Updates header and query params based on authentication setting.

        :param headers: Header parameters dict to be updated.
        :param querys: Query parameters tuple list to be updated.
        :param auth_settings: Authentication setting identifiers list.
        """
        if self.auth_token_holder.token is not None:
            headers[Configuration.AUTH_TOKEN_HEADER_NAME] = self.auth_token_holder.token
        else:
            headers['Authorization'] = self.configuration.get_basic_auth_token()
def update_params_for_auth ( self , headers , querys , auth_settings ) : if self . auth_token_holder . token is not None : headers [ Configuration . AUTH_TOKEN_HEADER_NAME ] = self . auth_token_holder . token else : headers [ 'Authorization' ] = self . configuration . get_basic_auth_token ( )
Updates header and query params based on authentication setting.

        :param headers: Header parameters dict to be updated.
        :param querys: Query parameters tuple list to be updated.
        :param auth_settings: Authentication setting identifiers list.