# File lib/travis/tools/github.rb, line 207
      def basic_auth(user, password, die = true, otp = nil, &block)
        gh = GH.with(:username => user, :password => password)
        with_otp(gh, user, otp, &block)
      rescue GH::Error => error
        raise gh_error(error) if die
      end