Sha256: f469f2f19792b033def2998789292eedabb328757fe39373b9d17c421cce6fd2
Contents?: true
Size: 1.56 KB
Versions: 1
Compression:
Stored size: 1.56 KB
Contents
require 'multiauth/rails' require 'multiauth/views_helper' module Multiauth PROVIDERS = { 'Google' => { :url => 'https://www.google.com/accounts/o8/id' }, 'Yahoo' => { :url => 'http://yahoo.com/' }, 'Twitter' => { :url => '/users/sign_in/twitter', :real => true }, 'Facebook' => { :selector => lambda { oauth_authorize_url(resource_name, :facebook) }, :real => true }, 'Launchpad' => { :url => 'https://launchpad.net/~{user_name}' }, 'Github' => { :url => lambda { oauth_authorize_url(resource_name, :github) }, :real => true }, 'AOL' => { :user_name_txt => 'screen:name', :url => 'http://openid.aol.com/{user_name}' }, 'OpenID' => { :url => '{user_name}' }, 'MyOpenID' => { :url => 'http://{user_name}.myopenid.com/' }, 'Flickr' => { :url => 'http://flickr.com/{user_name}/' }, 'Vidoop' => { :url => 'http://{user_name}.myvidoop.com/' }, 'ClaimID' => { :url => 'http://claimid.com/{user_name}' }, 'Technorati' => { :url => 'http://technorati.com/people/technorati/{user_name}/' }, 'Wordpress' => { :url => 'http://{user_name}.wordpress.com/' }, 'Blogger' => { :url => 'http://{user_name}.blogspot.com/' }, 'Verisign' => { :url => 'http://{user_name}.pip.verisignlabs.com/' }, 'LiveJournal' => { :url => 'http://{user_name}.livejournal.com' }, 'MySpace' => { :url => 'http://www.myspace.com/{user_name}' } } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
multiauth-0.1.0 | lib/multiauth.rb |