Module: Devise::Models::Omniauthable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/devise/models/omniauthable.rb
Overview
Adds OmniAuth support to your model.
Options
Oauthable adds the following options to devise
:
* +omniauth_providers+: Which providers are available to this model. It expects an array:
devise :database_authenticatable, :omniauthable, omniauth_providers: [:twitter]
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.required_fields(klass) ⇒ Object
20 21 22 |
# File 'lib/devise/models/omniauthable.rb', line 20 def self.required_fields(klass) [] end |