concept OAuth in category rails
appears as: OAuth

This is an excerpt from Manning's book Rails 3 in Action.
Table 6.2. Devise optional modules (off by default)
Provides
:token_authenticatable Lets the user authenticate via a token; can be used in conjunction with :database_authenticatable :encryptable Adds support for other methods of encrypting passwords; by default, Devise uses bcrypt :confirmable When users register, sends them an email with a link they click to confirm they’re a real person (you’ll switch on this module shortly because it’s one step to prevent automated signups) :lockable Locks the user out for a specific amount of time after a specific number of retries (configurable in the initializer); default is a lockout time of 1 hour after 20 retries :timeoutable If users have no activity in their session for a specified period of time, they are automatically signed out; useful for sites that may be used by multiple people on the same computer, such as email or banking sites :omniauthable Adds support for the OmniAuth gem, which allows for alternative authentication methods using services such as OAuth and OpenID
Then along came OAuth. OAuth allows you to authenticate against an OAuth provider. Rather than giving your username/email and password to yet another site, you authenticate against a central provider, which then provides tokens for the different applications to read and/or write the user’s data on the application.