Class: Hadley::Authz::Strategy

Inherits:
Warden::Strategies::Base
  • Object
show all
Extended by:
StrategyBuilder
Defined in:
lib/hadley/authz/strategy.rb

Overview

This class is a base class for authorization strategies

Direct Known Subclasses

Basic::Strategy, Bearer::Strategy

Instance Method Summary collapse

Methods included from StrategyBuilder

build, create_strategy, register_strategy, set_config

Instance Method Details

#configHadley::Config

Provides access to the configuration for this authorization strategy.

Returns:

  • (Hadley::Config)

    the configuration for this authorization strategy.



8
9
10
# File 'lib/hadley/authz/strategy.rb', line 8

def config
  self.class.const_get("CONFIG")
end