Sha256: e9cc57d835fb30947f923026acf746b2f5041052524c0a9424489bfac61718e5

Contents?: true

Size: 621 Bytes

Versions: 4

Compression:

Stored size: 621 Bytes

Contents

class User < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :token_authenticatable, :confirmable,
  # :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable,
         # OAuth2 devise modules
         :oauth2_providable,
         :oauth2_password_grantable,
         :oauth2_refresh_token_grantable,
         :oauth2_authorization_code_grantable

  # Setup accessible (or protected) attributes for your model
  attr_accessible :email, :password, :password_confirmation, :remember_me
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
anjlab-devise-oauth2-providable-1.1.3 spec/dummy/app/models/user.rb
anjlab-devise-oauth2-providable-1.1.2 spec/dummy/app/models/user.rb
anjlab-devise-oauth2-providable-1.1.1 spec/dummy/app/models/user.rb
anjlab-devise-oauth2-providable-1.1.0 spec/dummy/app/models/user.rb