Class: SoarAuthenticationToken::CascadeProvider
- Inherits:
-
Object
- Object
- SoarAuthenticationToken::CascadeProvider
- Defined in:
- lib/soar_authentication_token/providers/cascade_provider.rb
Instance Method Summary collapse
- #fetch(request) ⇒ Object
-
#initialize(configuration) ⇒ CascadeProvider
constructor
A new instance of CascadeProvider.
Constructor Details
#initialize(configuration) ⇒ CascadeProvider
Returns a new instance of CascadeProvider.
3 4 5 6 |
# File 'lib/soar_authentication_token/providers/cascade_provider.rb', line 3 def initialize(configuration) @configuration = configuration validate_configuration end |
Instance Method Details
#fetch(request) ⇒ Object
8 9 10 11 |
# File 'lib/soar_authentication_token/providers/cascade_provider.rb', line 8 def fetch(request) # TODO: refactor this functionality into modules - DON'T DUPLICATE! (request) || fetch_by_auth_header(request) end |