Module: Rails::Auth

Extended by:
Credentials, Override
Defined in:
lib/rails/auth/version.rb,
lib/rails/auth/acl.rb,
lib/rails/auth/override.rb,
lib/rails/auth/exceptions.rb,
lib/rails/auth/credentials.rb,
lib/rails/auth/acl/resource.rb,
lib/rails/auth/x509/matcher.rb,
lib/rails/auth/acl/middleware.rb,
lib/rails/auth/x509/filter/pem.rb,
lib/rails/auth/x509/middleware.rb,
lib/rails/auth/x509/certificate.rb,
lib/rails/auth/x509/filter/java.rb,
lib/rails/auth/controller_methods.rb,
lib/rails/auth/rspec/helper_methods.rb,
lib/rails/auth/error_page/middleware.rb,
lib/rails/auth/acl/matchers/allow_all.rb,
lib/rails/auth/error_page/debug_middleware.rb,
lib/rails/auth/credentials/injector_middleware.rb

Overview

Modular resource-based authentication and authorization for Rails/Rack

Defined Under Namespace

Modules: ControllerMethods, Credentials, ErrorPage, Override, RSpec, X509 Classes: ACL

Constant Summary collapse

VERSION =
"1.3.0".freeze
AUTHORIZED_ENV_KEY =

Rack environment key for marking external authorization

"rails-auth.authorized".freeze
NotAuthorizedError =

Unauthorized!

Class.new(StandardError)
ParseError =

Error parsing e.g. an ACL

Class.new(StandardError)
CREDENTIALS_ENV_KEY =

Rack environment key for all rails-auth credentials

"rails-auth.credentials".freeze

Method Summary

Methods included from Override

authorized!, authorized?

Methods included from Credentials

add_credential, credentials