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.

Method Summary

Methods included from TokenAuthentication

#intercept_project, #intercept_user, #intercept_user_or_project, #project_token_authenticate, #token_authenticate