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



37
38
39
40
41
# File 'lib/hammer_cli_foreman/auth.rb', line 37

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