Plugins - acts_as_google_account
Add to favoritesA plugin for authenticating users objects against the Google Authentication API.
Example
class User < ActiveRecord::Base
acts_as_google_account
def self.login(username, password)
if username.include? "@gmail.com" then
if self.GoogleLogin(username, password) then
find_by_email(username)
end
else
hashed_password = hash_password(password || "")
find(:first, :conditions => ["username = ? and hashed_password = ?", username, hashed_password])
end
end
def try_to_login
User.login(self.username, self.password)
end
end
http://rubyforge.org/projects/asgoogleaccount/
svn://rubyforge.org/var/svn/asgoogleaccount
GPL
Security
Tags
820cdc1b0b533541820c5b5ad04da479
PINGU
account
any
arth
authenticate
been
brightly
cant
comforting
d439069964c847c4d43919914a5ce410
dddd
dressed
eeeeeeeeeeeeeeeeeeeeeeeeeee
eep
fifteen
fuck
gmail
hought
indle
instrument
lightly
lucky
mice
notice
orange
pronounced
put
quite
relaxed
round
sash
those
true
us
wave
will

hi, i have used your code but i got error like undefined method actsas_googleaccount. please suggest on this error
Hi, i have followed your code to login into my web application with google id and password but i didnt get.please provide controller code with explanation and step wise
This plugin is not recommended - it does not auth against gauth in a secure fashion, and runs contrary to google's policy of not storing google logins on foreign sites. It will make your logins slow, besides.