Sha256: 40990a20dd84ec1954c582d1744a2ffa9a08b938a98905e0964c56d4d9e3764b

Contents?: true

Size: 379 Bytes

Versions: 5

Compression:

Stored size: 379 Bytes

Contents

class Authentication
  include DataMapper::Resource

  belongs_to :user, :key => true

  # Authentication provider:
  property :provider, String, :key => true

  # User ID allocated by that provider:
  property :uid, String, :length => 240

  # User name and email:
  property :user_name, String, :length => 240
  property :user_email, String, :length => 240, :index => true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sinatra_omniauth-1.3.0 models/authentication.rb
sinatra_omniauth-1.2.0 models/authentication.rb
sinatra_omniauth-1.1.0 models/authentication.rb
sinatra_omniauth-1.0.1 models/authentication.rb
sinatra_omniauth-1.0.0 models/authentication.rb