integration_ldap.rb 710 B

12345678910
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/integration/ldap/discover', to: 'integration/ldap#discover', via: :post
  4. match api_path + '/integration/ldap/bind', to: 'integration/ldap#bind', via: :post
  5. match api_path + '/integration/ldap/job_try', to: 'integration/ldap#job_try_index', via: :get
  6. match api_path + '/integration/ldap/job_try', to: 'integration/ldap#job_try_create', via: :post
  7. match api_path + '/integration/ldap/job_start', to: 'integration/ldap#job_start_index', via: :get
  8. match api_path + '/integration/ldap/job_start', to: 'integration/ldap#job_start_create', via: :post
  9. end