def login(self, username, password):

        # Attach auth to session.
        self._s.auth = (username.password)

        return True
Logs user into Github with given credentials.
dataset/ETHPy150Open kennethreitz-archive/python-github3/github3/api.py/GithubCore.login