def __init__(self, host='<STR_LIT:localhost>', port=<NUM_LIT>, tls=False, username=None,<EOL>password=None):
self._session = Session()<EOL>if username and password:<EOL><INDENT>self._session.auth = (username, password)<EOL><DEDENT>self._url = '<STR_LIT>'.format(<EOL>'<STR_LIT>' if tls else '<STR_LIT:http>',<EOL>host, port,<EOL>)<EOL>
Provide the security information and credentials necessary to make
connections to the Hectane API.