Module: OmniAuth::Identity

Defined in:
lib/omniauth/identity.rb,
lib/omniauth/identity/model.rb,
lib/omniauth/identity/version.rb,
lib/omniauth/identity/models/rom.rb,
lib/omniauth/identity/models/sequel.rb,
lib/omniauth/identity/models/mongoid.rb,
lib/omniauth/identity/secure_password.rb,
lib/omniauth/identity/models/nobrainer.rb,
lib/omniauth/identity/models/couch_potato.rb,
lib/omniauth/identity/models/active_record.rb

Overview

OmniAuth Identity provides a way to authenticate users using a username and password
stored in your application’s database. It supports multiple ORMs and provides
secure password hashing.

Examples:

Basic Setup

# In your Gemfile
gem 'omniauth-identity'

# In your OmniAuth configuration
use OmniAuth::Strategies::Identity,
    fields: [:email],
    model: User

See Also:

Defined Under Namespace

Modules: Model, Models, SecurePassword, Version