Flowdock
class
Importance_2
v2.3.2 - Show latest stable - 0 notes - Superclass: Object
  • 1.0.0
  • 1.1.1
  • 1.1.6
  • 1.2.0
  • 1.2.6
  • 2.0.0
  • 2.0.3
  • 2.1.0
  • 2.2.1
  • 2.3.2 (0)
  • 2.3.8
  • 3.0.0
  • 3.0.5
  • 3.0.9
  • 3.1.0
  • 3.2.1
  • 3.2.3
  • 3.2.8
  • 3.2.13
  • 4.0.2
  • What's this?

Rack::Auth::OpenID provides a simple method for setting up an OpenID Consumer. It requires the ruby-openid library from janrain to operate, as well as a rack method of session management.

The ruby-openid home page is at http://openidenabled.com/ruby-openid/.

The OpenID specifications can be found at http://openid.net/specs/openid-authentication-1_1.html and http://openid.net/specs/openid-authentication-2_0.html. Documentation for published OpenID extensions and related topics can be found at http://openid.net/developers/specs/.

It is recommended to read through the OpenID spec, as well as ruby-openid’s documentation, to understand what exactly goes on. However a setup as simple as the presented examples is enough to provide Consumer functionality.

This library strongly intends to utilize the OpenID 2.0 features of the ruby-openid library, which provides OpenID 1.0 compatiblity.

NOTE: Due to the amount of data that this library stores in the session, Rack::Session::Cookie may fault.

Constants

ValidStatus = [:success, :setup_needed, :cancel, :failure]

Attributes

[R] realm
[R] return_to
[R] session_key
[R] openid_param
[R] store
[R] immediate
[R] extensions
Show files where this class is defined (1 file)
Register or log in to add new notes.