code: def basic_auth(user, password, realm=None):
      
      from neobolt.security import AuthToken
      return AuthToken("basic", user, password, realm)
docs: Generate a basic auth token for a given user and password.
  
      :param user: user name
      :param password: current password
      :param realm: specifies the authentication provider
      :return: auth token for use with :meth:`GraphDatabase.driver`