Module: Hadley::Authz
- Included in:
- Middleware
- Defined in:
- lib/hadley/authz.rb
Overview
This module is both a namespace for modules and classes related to AFID authorization and a collection of useful helper methods that can be mixed in to application controllers / route handlers that need to interact with warden and AFID authorization details.
Defined Under Namespace
Modules: Basic, Bearer, StrategyBuilder Classes: Strategy
Instance Method Summary collapse
-
#warden ⇒ Warden::Proxy
A wrapper method that allows cleaner access to the warden proxy.
Instance Method Details
#warden ⇒ Warden::Proxy
A wrapper method that allows cleaner access to the warden proxy
14 15 16 |
# File 'lib/hadley/authz.rb', line 14 def warden env['warden'] end |