lib/authlogic_connect/openid/variables.rb in authlogic-connect-0.0.3.4 vs lib/authlogic_connect/openid/variables.rb in authlogic-connect-0.0.3.6

- old
+ new

@@ -1,5 +1,19 @@ -module AuthlogicConnect::Openid - module Variables - +module AuthlogicConnect::Openid::Variables + include AuthlogicConnect::Openid::State + + # openid_provider = "blogger", "myopenid", etc. + # openid_identifier = "viatropos.myopenid.com", etc. + # openid_key = "viatropos" +# def openid_attributes +# [:openid_provider, :openid_identifier, :openid_key] +# end + + def openid_identifier + auth_params[:openid_identifier] end + + def openid_provider + from_session_or_params(:openid_provider) + end + end \ No newline at end of file