Same as required_fields, but optional instead.
Default: []
Accepts: Array of symbols
# File lib/authlogic_openid/acts_as_authentic.rb, line 34 def openid_optional_fields(value = nil) rw_config(:openid_optional_fields, value, []) end
Some OpenID providers support a lightweight profile exchange protocol, for those that do, you can require certain fields. This is convenient for new registrations, as it will basically fill out the fields in the form for them, so they don’t have to re-type information already stored with their OpenID account.
For more info and what fields you can use see: openid.net/specs/openid-simple-registration-extension-1_0.html
Default: []
Accepts: Array of symbols
# File lib/authlogic_openid/acts_as_authentic.rb, line 25 def openid_required_fields(value = nil) rw_config(:openid_required_fields, value, []) end