Sha256: 0dfac4cd788d55fd4d469123aeef1ed837f19ed2dfaf2298cd6a4df838c4bc65
Contents?: true
Size: 479 Bytes
Versions: 4
Compression:
Stored size: 479 Bytes
Contents
module Authz class ApplicationController < ::ApplicationController include Authz::Controllers::AuthorizationManager protect_from_forgery with: :exception before_action :authenticate_authz_user before_action { authorize skip_scoping: true } around_action :verify_authorized private # Calls the authentication method configured by the main application def authenticate_authz_user send(Authz.force_authentication_method) end end end
Version data entries
4 entries across 4 versions & 1 rubygems