def auth_settings(self):
if self.api_key:<EOL><INDENT>return {<EOL>'<STR_LIT>':<EOL>{<EOL>'<STR_LIT:type>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:key>': '<STR_LIT>',<EOL>'<STR_LIT:value>': self.get_api_key_with_prefix('<STR_LIT>')<EOL>}<EOL>}<EOL><DEDENT>if self.username is not None:<EOL><INDENT>return {<EOL>'<STR_LIT>':<EOL>{<EOL>'<STR_LIT:type>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:key>': '<STR_LIT>',<EOL>'<STR_LIT:value>': self.get_basic_auth_token()<EOL>},<EOL>}<EOL><DEDENT>return {}<EOL>
Gets Auth Settings dict for api client.

:return: The Auth Settings information dict.

This function has been changed from the auto-generated content.