Module: TokenAuth::Concerns::ApiResources
- Extended by:
- ActiveSupport::Concern
- Includes:
- CorsSettings
- Defined in:
- app/controllers/token_auth/concerns/api_resources.rb
Overview
Behavior related to authentication and CORS.
Defined Under Namespace
Modules: Api
Constant Summary collapse
- AUTH_HEADER =
"X-AUTH-TOKEN"
Instance Method Summary collapse
Methods included from CorsSettings
#cors_set_access_control_headers
Instance Method Details
#options ⇒ Object
23 24 25 |
# File 'app/controllers/token_auth/concerns/api_resources.rb', line 23 def head :ok end |