Class: TokenAuth::TokensController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- TokenAuth::TokensController
- Defined in:
- app/controllers/token_auth/tokens_controller.rb
Overview
Manage configuration and authentication tokens.
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/controllers/token_auth/tokens_controller.rb', line 6 def index @entity_id = params[:entity_id] @authentication_token = AuthenticationToken .find_by(entity_id: @entity_id) @configuration_token = ConfigurationToken .find_by(entity_id: @entity_id) end |