Sha256: 2595a52cc8b1830c1e6125fade7343a8bf5defec014b197ef3c6f140aa10b8d6

Contents?: true

Size: 1.62 KB

Versions: 5

Compression:

Stored size: 1.62 KB

Contents

= muck-auth
This gem wraps the omniauth gem to make it simple to authenticate with multiple services.

== Installation

Add muck-auth to your Gemfile:
  gem 'muck-auth'


After installing muck-auth be sure to sync the gem:

  rake muck:sync:auth
  
or to sync everything from the muck framework:

  rake muck:sync
  
== Configuration
Add services by including the proper credentials in secrets.yml:

  auth_credentials:
    twitter: # Twitter api access: http://www.twitter.com/apps 
      key: '{get a key}'
      secret: '{it comes with a secret}'
    
=== OAuth Services
Here's a list of common oauth services. For a complete list of all available services please consult the omniauth documentation as the available services are constantly changing:
https://github.com/intridea/omniauth

  Twitter:    http://www.twitter.com/apps 
  Google:     http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html#register
  Yahoo:      http://developer.yahoo.com/flickr/
  Flick:      http://www.flickr.com/services/apps/create/apply
  Linked In:  https://www.linkedin.com/secure/developer
  Friendfeed: https://friendfeed.com/account/login?next=%2Fapi%2Fregister  
  
== Usage
Render a full list of all services with links to authorize the service and icons:
  <%= render :partial => 'authentications/available_services', :locals => { :include_icons => true } %>

Render a list of all services that the current_user has authorized:
  <%= render :partial => 'authentications/current_services', :locals => { :include_icons => true, :authentications => current_user.authentications } %>

Copyright (c) 2009-2011 Tatemae.com. See LICENSE for details.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
muck-auth-3.3.1 README.rdoc
muck-auth-3.3.0 README.rdoc
muck-auth-3.2.3 README.rdoc
muck-auth-3.2.2 README.rdoc
muck-auth-3.2.1 README.rdoc