SpeciesFileGroup/taxonworks

View on GitHub
app/controllers/api_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
# !! No authentication included at this level, maybe
# only logging/throttling etc.
#
# ! Endpoint authentication requrements are set in routes via defaults: referenced in includes
class ApiController < ActionController::API
  include ActionController::HttpAuthentication::Token::ControllerMethods

  include Api::AuthenticateUserToken
  include Api::AuthenticateProjectToken
  include RequestType
  include PaginationHeaders

end