integration_ldap.rb 787 B

123456789101112
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. Zammad::Application.routes.draw do
  3. api_path = Rails.configuration.api_path
  4. match api_path + '/integration/ldap/discover', to: 'integration/ldap#discover', via: :post
  5. match api_path + '/integration/ldap/bind', to: 'integration/ldap#bind', via: :post
  6. match api_path + '/integration/ldap/job_try', to: 'integration/ldap#job_try_index', via: :get
  7. match api_path + '/integration/ldap/job_try', to: 'integration/ldap#job_try_create', via: :post
  8. match api_path + '/integration/ldap/job_start', to: 'integration/ldap#job_start_index', via: :get
  9. match api_path + '/integration/ldap/job_start', to: 'integration/ldap#job_start_create', via: :post
  10. end