Class: HammerCLIForeman::Auth::LoginCommand::Negotiate

Inherits:
HammerCLI::AbstractCommand
  • Object
show all
Extended by:
HammerCLIForeman::Authenticate::Login
Defined in:
lib/hammer_cli_foreman/auth.rb

Instance Method Summary collapse

Methods included from HammerCLIForeman::Authenticate::Login

execute_with_params

Instance Method Details

#executeObject



58
59
60
61
62
# File 'lib/hammer_cli_foreman/auth.rb', line 58

def execute
  Negotiate.execute_with_params(AUTH_TYPES[:negotiate])
  print_message(_("Successfully authenticated using negotiate auth, using the KEYRING principal."))
  HammerCLI::EX_OK
end