Module: Opro::Controllers::ApplicationControllerHelper

Extended by:
ActiveSupport::Concern
Includes:
Concerns::ErrorMessages, Concerns::Permissions, Concerns::RateLimits
Defined in:
lib/opro/controllers/application_controller_helper.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from Concerns::RateLimits

#oauth_client_over_rate_limit?, #oauth_client_rate_limited?, #oauth_client_record_access!, #oauth_client_under_rate_limit?, #oauth_record_rate_limit!

Methods included from Concerns::ErrorMessages

#generate_oauth_error_message!, #generate_oauth_permissions_error_message!

Methods included from Concerns::Permissions

#add_oauth_required_permission, #global_oauth_required_permissions, #oauth_client_can_write?, #oauth_client_has_permission?, #oauth_client_has_permissions?, #oauth_required_permissions, #skip_oauth_required_permission, #skip_oauth_required_permissions

Instance Method Details

#opro_authenticate_user!Object



17
18
19
20
# File 'lib/opro/controllers/application_controller_helper.rb', line 17

def opro_authenticate_user!
  Opro.authenticate_user_method.call(self)
  true
end