Sha256: 4ae047aaa4c88546f347e3ce79de0c5204611900cd3fc5d6b7af6f796e9c55c8

Contents?: true

Size: 761 Bytes

Versions: 17

Compression:

Stored size: 761 Bytes

Contents

= OmniAuth::OAuth

OAuth 1.0 and 2.0 strategies for the OmniAuth gem.

== Installation

To get just OAuth functionality:

    gem install oa-oauth
    
For the full auth suite:

    gem install omniauth
    
== Stand-Alone Example

Use the strategy as a middleware in your application:

    require 'omniauth/oauth'
    
    use OmniAuth::Strategies::Twitter, 'consumer_key', 'consumer_secret'
    
Then simply direct users to '/auth/twitter' to have them authenticate via Twitter.

== OmniAuth Builder

If you want to allow multiple providers, use the OmniAuth Builder:

    require 'omniauth/oauth'
    
    use OmniAuth::Builder do
      provider :twitter, 'consumer_key', 'consumer_secret'
      provider :facebook, 'client_id', 'client_secret'
    end
    

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
oa-oauth-0.3.2 README.rdoc
oa-oauth-0.3.0 README.rdoc
oa-oauth-0.3.0.rc3 README.rdoc
omniauth-0.2.6 oa-oauth/README.rdoc
oa-oauth-0.2.6 README.rdoc
omniauth-0.2.5 oa-oauth/README.rdoc
oa-oauth-0.2.5 README.rdoc
oa-oauth-0.2.4 README.rdoc
oa-oauth-0.2.3 README.rdoc
oa-oauth-0.2.2 README.rdoc
oa-oauth-0.2.1 README.rdoc
oa-oauth-0.2.0 README.rdoc
oa-oauth-0.2.0.beta5 README.rdoc
oa-oauth-0.2.0.beta4 README.rdoc
oa-oauth-0.2.0.beta3 README.rdoc
oa-oauth-0.2.0.beta2 README.rdoc
oa-oauth-0.2.0.beta1 README.rdoc