def authenticate_user(self):
cloud_config = os_client_config.OpenStackConfig().get_one_cloud(<EOL>cloud=self.options.os_cloud, argparse=self.options,<EOL>network_api_version=self.api_version,<EOL>verify=not self.options.insecure)<EOL>verify, cert = cloud_config.get_requests_verify_args()<EOL>if self.options.os_token and self.options.os_url:<EOL><INDENT>auth = None<EOL>auth_session = None<EOL><DEDENT>else:<EOL><INDENT>auth = cloud_config.get_auth()<EOL>auth_session = session.Session(<EOL>auth=auth, verify=verify, cert=cert,<EOL>timeout=self.options.http_timeout)<EOL><DEDENT>interface = self.options.os_endpoint_type or self.endpoint_type<EOL>if interface.endswith('<STR_LIT>'):<EOL><INDENT>interface = interface[:-<NUM_LIT:3>]<EOL><DEDENT>self.client_manager = clientmanager.ClientManager(<EOL>retries=self.options.retries,<EOL>raise_errors=False,<EOL>session=auth_session,<EOL>url=self.options.os_url,<EOL>token=self.options.os_token,<EOL>region_name=cloud_config.get_region_name(),<EOL>api_version=cloud_config.get_api_version('<STR_LIT>'),<EOL>service_type=cloud_config.get_service_type('<STR_LIT>'),<EOL>service_name=cloud_config.get_service_name('<STR_LIT>'),<EOL>endpoint_type=interface,<EOL>auth=auth,<EOL>insecure=not verify,<EOL>log_credentials=True)<EOL>return<EOL>
Confirm user authentication

        Make sure the user has provided all of the authentication
        info we need.