module Authpwn::ControllerBaseExtensions

Included in ActionController::Base.

Can be included manually in controllers that don't inherit from ActionController::Base, such as rails-api controllers.

Public Instance Methods

auth_controller?() click to toggle source

True for controllers belonging to the authentication implementation.

Controllers that return true here are responsible for performing their own authorization.

# File lib/authpwn_rails/session.rb, line 18
def auth_controller?
  false
end