Path: | lib/merb-auth-more/strategies/basic/openid.rb |
Last Update: | Thu Aug 19 13:43:43 -0600 2010 |
The openid strategy attempts to login users based on the OpenID protocol openid.net/
Overwrite the on_sucess!, on_failure!, on_setup_needed!, and on_cancel! to customize events.
Overwite the required_reg_fields method to require different sreg fields. Default is email and nickname
Overwrite the openid_store method to customize your session store
:openid - an action that is accessilbe via http GET and protected via ensure_authenticated :signup - a url accessed via GET that takes a user to a signup form (overwritable)
:identity_url - A string for holding the identity_url associated with this user (overwritable)
install the ruby-openid gem