Module: Devise::Models::CloudfujiAuthenticatable
- Defined in:
- lib/devise_cas_authenticatable/model.rb
Overview
Extends your User class with support for CAS ticket authentication.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/devise_cas_authenticatable/model.rb', line 5 def self.included(base) base.extend ClassMethods if defined?(Mongoid) base.class_eval do field :ido_id # TODO check with someone who's using Mongoid end end end |