Module: Api::AuthenticateProjectToken

Extended by:
ActiveSupport::Concern
Includes:
ActionController::HttpAuthentication::Token::ControllerMethods, TokenAuthentication
Included in:
ApiController
Defined in:
app/controllers/concerns/api/authenticate_project_token.rb

Overview

Authenticates project_token as required by params assigned in routes. If authentication fails a JSON response indicating the failure is returned.