class Heroku::Command::Auth

authentication (login, logout)

Public Instance Methods

login() click to toggle source

auth:login

log in with your heroku credentials

# File lib/heroku/command/auth.rb, line 11
def login
  Heroku::Auth.login
  display "Authentication successful."
end
logout() click to toggle source

auth:logout

clear local authentication credentials

# File lib/heroku/command/auth.rb, line 22
def logout
  Heroku::Auth.logout
  display "Local credentials cleared."
end
token() click to toggle source

auth:token

display your api token

# File lib/heroku/command/auth.rb, line 33
def token
  display Heroku::Auth.api_key
end