code: def _getUserAuthObject(self, user, connection):
          
          credentials = self._getCredentials(user)
          userAuthObject = AutomaticUserAuthClient(user, connection, **credentials)
          return userAuthObject
docs: Get a SSHUserAuthClient object to use for authentication
  
          @param user: The username to authenticate for
          @param connection: The connection service to start after authentication