Module: WardenOpenidBearer::Registerer
- Included in:
- Strategy
- Defined in:
- lib/warden_openid_bearer/registerer.rb
Overview
Add this mixin to your ‘Warden::Strategies::Base` subclass to streamline the `Warden::Strategies.add()` business.
If you mix this into ‘Your::Class` (or inherit from one that does, such as `OIDCBearer::Strategy`), then you can say
manager.default_strategies Your::Class.register!
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
15 16 17 |
# File 'lib/warden_openid_bearer/registerer.rb', line 15 def self.included(klass) klass.extend(ClassMethods) end |