Class | OmniAuth::Strategies::OpenID |
In: |
lib/omniauth/strategies/open_id.rb
|
Parent: | Object |
OmniAuth strategy for connecting via OpenID. This allows for connection to a wide variety of sites, some of which are listed [on the OpenID website](openid.net/get-an-openid/).
IDENTIFIER_URL_PARAMETER | = | 'openid_url' |
AX | = | { :email => 'http://axschema.org/contact/email', :name => 'http://axschema.org/namePerson', :nickname => 'http://axschema.org/namePerson/friendly', :first_name => 'http://axschema.org/namePerson/first', :last_name => 'http://axschema.org/namePerson/last', :city => 'http://axschema.org/contact/city/home', :state => 'http://axschema.org/contact/state/home', :website => 'http://axschema.org/contact/web/default', :image => 'http://axschema.org/media/image/aspect11' |
options | [RW] |
Initialize the strategy as a Rack Middleware.
@param app [Rack Application] Standard Rack middleware application argument. @param store [OpenID Store] The [OpenID Store](github.com/openid/ruby-openid/tree/master/lib/openid/store/)
you wish to use. Defaults to OpenID::MemoryStore.
@option options [Array] :required The identity fields that are required for the OpenID
request. May be an ActiveExchange schema URL or an sreg identifier.
@option options [Array] :optional The optional attributes for the OpenID request. May
be ActiveExchange or sreg.
@option options [Symbol, :open_id] :name The URL segment name for this provider.