# File lib/travis/tools/github.rb, line 39 def with_basic_auth(&block) user, password = ask_credentials basic_auth(user, password, true) do |gh, _| gh['user'] # so otp kicks in yield gh end end