Sha256: ee52e2cbe8bca6be81b015ceab391829489fe833a6de79c20c45cff9bf71a180

Contents?: true

Size: 498 Bytes

Versions: 23

Compression:

Stored size: 498 Bytes

Contents

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] if auth_params?
  end
  
  def openid_provider
    from_session_or_params(:openid_provider) if auth_controller?
  end
  
end

Version data entries

23 entries across 23 versions & 7 rubygems

Version Path
authlogic-connect-0.0.4.05 lib/authlogic_connect/openid/variables.rb
authlogic-connect-0.0.4.04 lib/authlogic_connect/openid/variables.rb
authlogic-connect-0.0.4.03 lib/authlogic_connect/openid/variables.rb