Class: Yadecli::Command::LoginCommand
- Inherits:
-
Mutations::Command
- Object
- Mutations::Command
- Yadecli::Command::LoginCommand
- Defined in:
- lib/yadecli/command/login_command.rb
Overview
login
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/yadecli/command/login_command.rb', line 17 def execute authentication_client = Yade::Common::Client::AuthenticationClient.new authentication = authentication_client.login(auth_url, auth_username, auth_password) "Successfully logged in user #{authentication.auth_username} with password *** at uaa #{authentication.auth_url}" end |