Module: ForemanDlm::FindHostByClientCert::ClassMethods

Defined in:
app/controllers/concerns/foreman_dlm/find_host_by_client_cert.rb

Instance Method Summary collapse

Instance Method Details

#authorize_host_by_client_cert(actions, _options = {}) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'app/controllers/concerns/foreman_dlm/find_host_by_client_cert.rb', line 6

def authorize_host_by_client_cert(actions, _options = {})
  skip_before_action :require_login, :only => actions, :raise => false
  skip_before_action :authorize, :only => actions
  skip_before_action :verify_authenticity_token, :only => actions
  skip_before_action :set_taxonomy, :only => actions, :raise => false
  skip_before_action :session_expiry, :update_activity_time, :only => actions
  before_action(:only => actions) {  }
  attr_reader :detected_host
end