module Negroni::Models::Omniauthable
Adds OmniAuth
support to your model.
## Options
Omniauthable
adds the following options to negroni:
* `omniauth_providers`: Which providers are available to this model. It expects an array.
@example
negroni :authenticable, :omniauthable, omniauth_providers: [:twitter]
Public Class Methods
required_fields(_klass = nil)
click to toggle source
Required fields for this module (none)
# File lib/negroni/models/omniauthable.rb, line 23 def self.required_fields(_klass = nil) [] end