Module: Models::OpenIdAuthentication::ClassMethods
- Defined in:
- lib/_models/open_id_authentication.rb
Instance Method Summary collapse
Instance Method Details
#authenticate_by_open_id(open_id) ⇒ Object
14 15 16 17 |
# File 'lib/_models/open_id_authentication.rb', line 14 def authenticate_by_open_id open_id return nil if open_id.blank? Models::User.first state: 'active', open_ids: open_id end |