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_for:

* +omniauth_providers+: Which providers are available to this model. It expects an array:

    devise_for :database_authenticatable, :omniauthable, omniauth_providers: [:twitter]

Defined Under Namespace

Modules: ClassMethods

Class Method Summary (collapse)

Class Method Details

+ (Object) required_fields(klass)



18
19
20
# File 'lib/devise/models/omniauthable.rb', line 18

def self.required_fields(klass)
  []
end